Site home page
(news and notices)

Get alerts when Linktionary is updated

Book updates and addendums

Get info about the Encyclopedia of Networking and Telecommunicatons, 3rd edition (2001)

Download the electronic version of the Encyclopedia of Networking, 2nd edition (1996). It's free!

Contribute to this site

Electronic licensing info



Sockets API

Related Entries    Web Links    New/Updated Information

Search Linktionary (powered by FreeFind)

Note: Many topics at this site are reduced versions of the text in "The Encyclopedia of Networking and Telecommunications." Search results will not be as extensive as a search of the book's CD-ROM.

The socket interface is a de facto (nonstandardized) API (application programming interface) that was originally developed in the Berkeley implementation of UNIX. A socket interface is used to access TCP/IP networking services and create connections to processes running on other hosts.

Socket APIs are what allow applications to bind with ports and IP addresses on hosts. If an application needs the services of TCP, it uses a stream socket, which provides connection-oriented, bidirectional, reliable data flows between systems. A datagram socket is used by applications that do not need TCP's reliable services. Datagram sockets go through UDP.

In the Windows environment, sockets is known as "Windows Sockets" or "WinSocks." An API similar to sockets is Microsoft's NetBT (NetBIOS over TCP/IP).

Copyright (c) 2001 Tom Sheldon and Big Sur Multimedia.
All rights reserved under Pan American and International copyright conventions.