In the the section called “The TCP Client/Server” we developed a full client/server application. The server we developed could only handle one connection at a time. It was structured to create a However, the Server has been structured correctly to make it easily threaded by keeping the connection handler separate from the Server. All that has to be done is to make this connection handler (the To make the server threaded we can take the The If we do this the
And the
To make it easier for you to see this update, I have placed all the source files here:
These notes are copyright Dr. Derek Molloy, School of Electronic Engineering, Dublin City University, Ireland 2013-present. Please contact him directly before reproducing any of the content in any way. |