IPC@CHIP - NET API
easy to use - no BSD style
typical example:
sd = openSocket(TCP); /*open a socket*/
bind(sd, 1234); /*bind socket to port*/
/*connect to remote address and port*/
connect(sd, IPAddress, port);
/*sending data*/
TCPSend(sd, dataBuffer, sizeof(dataBuffer), MSG_BLOCKING);
/*receiving data*/
TCPReceive(sd, dataBuffer, sizeof(dataBuffer), MSG_TIMEOUT, 5000L);
closeSocket(sd);
http://www.teco.edu/