Play and learn 300 000+ tabs online

Saturday, July 31, 2010

TCP Clients and Servers

TCP Clients and Servers

The general order of library calls for a TCP client is as follows:
  socket()
  connect()
  send() and/or recv()
  close()
The general order of library calls for a TCP server is as follows:
  socket()
  bind()
  listen()
  accept()
  send() and/or recv()
  close()

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.