Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UDP Point-To-Point, send or sendto?

Status
Not open for further replies.

Frink

Programmer
Mar 16, 2001
798
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top