Hallo,
I'm implementing UDP sockets point to point between machines. Each socket is used for reading or writing but not both.
One machine is my server, the other a client, and I want to use specific port numbers for each socket. Both the Client and server need to send and receive data.
I have lots of questions:
1) Should I create and bind the sockets on the Server side and create and connect on the client side?
2) What combination of send/sendto and recv/recvfrom should I use, with respect to my client/server.
3) Is there any information which anyone could recommend.
- Frink
I'm implementing UDP sockets point to point between machines. Each socket is used for reading or writing but not both.
One machine is my server, the other a client, and I want to use specific port numbers for each socket. Both the Client and server need to send and receive data.
I have lots of questions:
1) Should I create and bind the sockets on the Server side and create and connect on the client side?
2) What combination of send/sendto and recv/recvfrom should I use, with respect to my client/server.
3) Is there any information which anyone could recommend.
- Frink