Computer network programming

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Computer network programming involves writing computer programs that enable processes to communicate with each other across a computer network.

Client–server programming[edit]

Main article: client–server model

Socket programming[edit]

Main article: Network socket

The endpoint in an interprocess communication is called a socket, or a network socket for disambiguation. Since most communication between computers is based on the Internet Protocol, an almost equivalent term is Internet socket. The data transmission between two sockets is organised by communications protocols, usually implemented in the operating system of the participating computers. Application programs write to and read from these sockets. Therefore, network programming is essentially socket programming.

Standard API[edit]

Main article: Berkeley sockets

Further reading[edit]

  • W. Richard Stevens: UNIX Network Programming, Volume 1, Second Edition: Networking APIs: Sockets and XTI, Prentice Hall, 1998, ISBN 0-13-490012-X