9 Commits

Author SHA1 Message Date
Kevin Thompson
3b189d2865 Code cleanup
Fixed code style using CodeMaid.
2017-09-24 01:52:45 -04:00
antiduh
b65b6c6abe Fixed duplicate using statements. 2014-07-08 19:06:03 +00:00
antiduh
35ace4f24c Couple bug fixes in the client and server code. Gotta remember that TCP sockets may return less data than you ask for; that and the length of the data may be longer than the buffer you give it. 2014-07-08 18:56:52 +00:00
antiduh
6805058de5 Change the project so that it compiles against .Net 4.0 for greater usability. 2014-07-07 19:24:31 +00:00
antiduh
7e5f2a6308 Fixed the demo's CustomServer confusion over Disconnected - it was firing it when a full shutdown occurred, not just when the current client disconnected. Created a second Stopped event to track when the full shutdown actually occurs; still not used by UI. 2014-06-27 21:59:19 +00:00
antiduh
ef8094d9da Fixed server shutdown. 2014-06-26 21:55:51 +00:00
antiduh
6d4fc877ec Slowly trying to make this thing work reliably when restarting the demo. 2014-06-26 21:39:58 +00:00
antiduh
5b3a92ee66 Implemented the server form. Client <-> Server interaction actually works.
Fixed a few bugs in the CustomServer - wasn't configuring the listen socket correctly, doing read/write operations from the wrong socket, etc. Reworked how the CustomConnection class handles serialization.

Added Disconnected events to the sample's CustomConnection and CustomServer classes so the forms could reset state.
2014-06-26 18:00:50 +00:00
antiduh
81ed80a4d0 Fixed namespaces; Working on server-side UI. 2014-06-25 21:49:35 +00:00