socket-time-out-225x225

TCP/IP Sockets with Time Out Capabilities

Recently I had a question from one of my readers about how to close connections on a server when there are no requests received after a certain period of time. ┬áThe question was asked with┬áregard to the tcpsockets classes I covered in my blog TCP Network Programming Design Patterns in C++, none of which support…

network-socket-225x225

TCP/IP Network Programming Design Patterns in C++

Network programming with the BSD Sockets API involves making a series of boilerplate calls to several operating system level functions every time you want to create connections and transfer data over TCP/IP networks. This process can be both cumbersome and error prone. Fortunately there is an easier way to develop network applications. By thinking in…