[Migrated content. Thread originally posted on 13 October 2011]
NetExpress 3.1/5.1 developer. I need to know which Win32APIs to call to:Open a TCP/IP port on a target server
Send data to that server to request a response
Receive the response form the server
Send the next request ......
Close the link when finished
Being unfamiliar with what's required here I've taken a stab by browsing through the MSDN site, and have come up with a possible sequence of APIs to call, based on WinSock functions
WSASTARTUP to initialise the Winsock DLL
SOCKET to create a socket on IP (not sure how to connect to a particular port)
SEND to send data
RECV to receive the response, then round again to send more
CLOSESOCKET
WSAGETLASTERR to check errors
Am I oversimplifying here? Of course this needs to be completed yesterday; any help gratefully received ...

