This involves the development of a multithreaded server application to demonstrate thread-based TCP communication between multiple ‘Telnet’ clients and a server that needs to be developed, making use of a queue to serialise and log messages to a text file. This application can be a Win32 Console application, optionally including MFC support. The main thread in this program must create a ‘listening’ thread to await TCP/IP connections from ‘Telnet’ clients, as per the demo code (provided in the zip attachment). Additionally, a new thread must be created which ‘polls’ a message queue and when text data is available, extract the data and write it out to a single text file. Every TCP/IP client thread must be modified to insert data into the queue when the return key is pressed. Thus the application will log all messages entered via multiple ‘Telnet’ clients. Attention should be given to terminating any new threads correctly. Additional bonus will be paid for modifying the queue system to make use of ‘Events’, rather than ‘polling’, otherwise known as ‘busy-waiting’.
1) Complete and fully-functional working program(s) in executable form as well as all the source code and project files for the client & server applications. 2) Well commented source code, as well as a Report on design. 3) Testing the functionality of the applications with findings and results. 3) Exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
Windows XP Windows 2000