CS 4504 Lecture Notes - Lecture 8: Network Socket, Connectionless Communication, Computer Network Programming

62 views2 pages

Document Summary

The socket api is an interprocessing communication (ipc) programming interface originally provided as part of the berkeley unix operating system. This method was implemented in all modern operating systems, including sun solaris and windows systems. A socket api provides a programing construct termed a socket. A process wishing to communicate with another process must create an instance or instantiate such a construct. Then the two processes issue operations provided by the api to send and receive data. A socket programming construct can make use of either the udp or tcp protocols. Sockets that use udp for transport are known as datagram sockets while sockets that use tcp are named stream sockets. Udp allows a packet to be transported using connectionless communication. Tcp is connection-oriented and transports a stream of data over a logical connection established between the sender and the receiver.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents