Skip to content
Snippets Groups Projects
user avatar
Fisher, Alexander (Alex) (Capt) authored
6615459e
History
Simple client/server connection. Run the server first, then client.

You will see when the server begins running the output will show "FisherServer has started..."

Once the clent begins running you should see "FisherClient creating socket..." in the output.
The client/server connection will then run 10 loops of the server asking "Why did the chicken cross the road?"
And the client will reply "To get to the other side" along with a loop count. After 10 reps the 
client will exit and the server will close.