fredericmarchand / RealTimeVotingSystem

Real-Time Concurrent Systems
0 stars 1 forks source link

WSocket class usage #5

Closed brandonSc closed 9 years ago

brandonSc commented 9 years ago

Just added a WSocket (which stands for WrapperSocket) class to the networking package. The WSocket class encapsulates all of that UDP to TCP protocol simulation stuff from assignment 1. The socket currently only supports sending messages of a max size of 576 bytes, but I will add support for unbounded message sizes as soon as I get the chance.

You should take a look at the WSocketTest demo code in the testing package for some examples of how this class can be used in your GUI code or server code.

Let me know if you have any questions or suggestions regarding this class..

Cheers,