What You Will Get Out of This Chapter
We will discuss the basics of how to form socket connections. Examples will be shown of clients and servers. Two protocols will be covered, TCP and UDP, and their individual nuances will be discussed from a high level. The focus will be on how to work with sockets.
What this chapter will not do is explain in detail the nuts and bolts of computer networking. That is beyond the scope of this book. There are many technologies and different approaches to various problems, and each topic could be turned into a book by itself. Instead, a section ...