Hello,

I want to use the Winsock API to interface two computers: a client and a server. The client will send the server a message and wait for, and receive, a response.

I've never worked with Winsock before so don't really know what the procedure is. What is the sequence of functions I will need to do this? I'm guessing along the lines of ...

Startup
Create socket/connect
Send
Listen
Receive
Disconnect
End

Is that the way to go? Any help/advice would be appreciated, thanks.