Brandon McCulligh's Portfolio
Proof Of Concepts
Network Server And Client
Windows XP and Higher
I had just finished reading an excellent introductory to networking (see TCP/IP book under recommendations) and wanted to apply what I had learnt in the book to a real world application. I instantly thought of a chat room sort of application that I could easily apply to games as well (just about every networked game today has a chat console).
The first thing I wanted to do was slap together a quick networking library that would be able to run as either a Server and Client application. This library also was built completely independent of a UI to keep with true Object Orient Principles.
After a couple of hours of work, I had the library complete and a very rough client that was able to connect to the server and send messages which would then be sent to all other connections. The server also features a primitive queue system for inbound connections when the maximum connections has been met.
Due to its nature as a proof of concept, an executable will not be provided, but the source will be. The reason behind this is that this is rough proof of concept code and not production ready and I really wanted it to be used as a learning point, not as a production ready example. Furthermore, everything is hard coded and an executable would not be any use because the IP’s, Port’s, and user names would all be incorrect. So with that being said, the source code has been provided for my Network Library, Server implementation and a GUI Client.
Powered by: Great White North Productions© Technologies