Skip to main content

Part of the book series: Computer Communications and Networks ((CCN))

  • 2909 Accesses

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).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Postel J (August 1980) User datagram protocol. RFC 768, Internet engineering task force

    Google Scholar 

  2. Postel J (1981) RFC 793—Transmission control protocol (TCP). RFC 793

    Google Scholar 

  3. 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

    Google Scholar 

  4. Klensin J (2008) RFC 5321—Simple mail transfer protocol (SMTP). RFC 5321

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics