Essential Advanced Socket Programming Ways Using C Sockets
摘要
In Chapter 8 , “Essential Network Socket Programming Skills,” we have learned how to implement network TCP/UDP applications using Linux socket programming in C. In this chapter, you will learn advanced socket programming approaches for handling TCP/UDP network applications. You will start with understanding the importance of non-blocking socket programming ways. Non-blocking socket programming is helpful to minimize network applications latencies and offer better response time. Mainly, we discuss how to use fcntl,select system’s call for implementing non-blocking approaches in TCP/UDP network applications.