Instant messenger IP Help

hederimiller

Member
Joined
Jul 30, 2005
Messages
6
Programming Experience
1-3
I have been trying to create an instant messenger using a UdpClient. i just dimed the variable udpclient as new udpclient. Then i said udpclient.connect(<ipaddress>,<port>) and this seems to work fine. But if i want to send the message to somebody inside of a network, how do i do that bacause i would need their gateway, and their local ipaddress as i can understand. Thanks
 
Sounds to me like you bes bet is to create a server and a client and let the server do all the directing this way the server knows the ip of each individual rather then trying to setup a peer to peer conection
 
Back
Top