Sie sind auf Seite 1von 1

Unix BSD (Berkley Software Distribution) Provide network socket in the name of

Berkley Socket. libsocket.so

Splits from Berkley (AT&T)

Unix System V provided networking sockets in the name of TLI (Transport Layer
Interface) libnsl.so

Windows provided networking sockets under library Winsock.dll

Berkley Sockets:

Two Types of Protocol:


TCP/IP Transmission Control Protocol / Internet Protocol Connection Oriented
UDP User Datagram Protocol Connectionless

TCP/IP UDP
Server Properties: . Server (Normally called as Listener)
* Creates a (Stream)Socket Creates a (Datagram) socket
* Binds it as a server Declare(Bind) it as a Listener
* Listen for the client Connection Receive from
* Accepts the client-connection Close the socket
* Sends/ Receives from/to the client . Client (Normally called as Talker)
* After completing all the Create A (Datagram) Socket
transactions, connection is closed Send To (listener)
* Shutdown Close the socket
. Client Properties:
* Create a socket
* connect to the server
* sends/receives from/to the server
* close the connection after
transaction
* shutdown

Das könnte Ihnen auch gefallen