Abstract
In order to support the inter-process communication, specific support has to be provided by both the operating system and the programming language used. This chapter presents and discusses sockets, as one of the major solutions employed by network programming for the inter-process communications. Sockets provide the application developer with direct basic access to transport protocols, offering data packet transport services between a sender and a receiver host over the network, while hiding the complexity and implementation details of the protocol stack below. Sockets’ examples are presented in details when two of the most popular transport protocols are employed in turn: the Transmission Control Protocol (TCP) and User Datagram Protocol (UDP).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Postel J (August 1980) User datagram protocol. RFC 768, Internet engineering task force
Postel J (1981) RFC 793—Transmission control protocol (TCP). RFC 793
Fielding R, Gettys J, Mogul J, Frystyk H, Masinter L, Leach P, Berners-Lee T (1999) RFC 2616—Hypertext transfer protocol (HTTP/1.1). RFC 2616
Klensin J (2008) RFC 5321—Simple mail transfer protocol (SMTP). RFC 5321
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag London
About this chapter
Cite this chapter
Ciubotaru, B., Muntean, GM. (2013). Sockets. In: Advanced Network Programming – Principles and Techniques. Computer Communications and Networks. Springer, London. https://doi.org/10.1007/978-1-4471-5292-7_5
Download citation
DOI: https://doi.org/10.1007/978-1-4471-5292-7_5
Publisher Name: Springer, London
Print ISBN: 978-1-4471-5291-0
Online ISBN: 978-1-4471-5292-7
eBook Packages: Computer ScienceComputer Science (R0)