11-10-2008
2,
0
Join Date: Nov 2008
Last Activity: 10 November 2008, 7:16 PM EST
Posts: 2
Thanks Given: 0
Thanked 0 Times in 0 Posts
Server/client chat
I want to make the following programm.
Using the server/client model I want 2 client to connect to the server then the server sends back to the clients the ip address and a number of a poort in order to open a udp connection between clients without using the server?
What I have done since now is to connecct 2 clients to te server and getting their IPs. But I dont know how to send back the ip to each other in order to help the clients open a udp connection.
Finally I would like to ask how can I open a udp connection between clients using only their ips and a port number without using the server and make the clients able to chat.
I am looking forward to your replies.
Thanks in advance.
PS I have implemented them in c.