Fundamentals

In this section, we examine the fundamentals of network programming.

Protocols

When data is transmitted over a network, you need what are known as protocols. In most cases, TCP/IP (Transmission Control Protocol/Internet Protocol) is considered to be the state of the art. However, TCP/IP is not just a simple protocol. In reality, it is a rich set of protocols and each of these protocols has a specific task. There are also other protocols, such as the good old IPX/SPX, but those protocols are no longer in widespread use.

In general, two different types or protocols are available: connection-oriented protocols and non-connection-oriented protocols.

Connection-Oriented Protocols

Connection-oriented protocols are a good way to exchange ...

Get Mono Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.