Hi,
I'm trying to figure out how to send a mesage to specific users on a LAN. All users should be able to recieve and send amongs each other. I've looked at the Echo server and Client examples that comes with PBWin8xxx. I've read various articles on the net on how the TCP/IP is supposed to work. My rough plan for a solution is that the program will reside on each PC and run as a TCP server(listen to a specific port for messages). Suppose I know the IP address(dynamically allocated) of the PC I want to send the message to, how do I send/create a datagram that will end up at designated IP address. And is this doable? If I'm able to route TCP mesasges to a specific IP adress I want to add this funcionality to the Mr Sticky program downloaded from Powerbasic i.e being able post a Sticker on somebody elses screen.
Any thoughts or hints will be appreciated.
Regards
Eigil
I'm trying to figure out how to send a mesage to specific users on a LAN. All users should be able to recieve and send amongs each other. I've looked at the Echo server and Client examples that comes with PBWin8xxx. I've read various articles on the net on how the TCP/IP is supposed to work. My rough plan for a solution is that the program will reside on each PC and run as a TCP server(listen to a specific port for messages). Suppose I know the IP address(dynamically allocated) of the PC I want to send the message to, how do I send/create a datagram that will end up at designated IP address. And is this doable? If I'm able to route TCP mesasges to a specific IP adress I want to add this funcionality to the Mr Sticky program downloaded from Powerbasic i.e being able post a Sticker on somebody elses screen.
Any thoughts or hints will be appreciated.
Regards
Eigil
Comment