JR,
I assume you did save the files somewhere first so that Program.Directory works in a local folder.
You get this error running the client when the localhost IP is not set correctly.
What is set in the "ConnectIP.txt" file written by the server program, it should be something like 192.168.0.118:100, the 0.118 will be different (your local/private IP address), but the rest probably the same 192.168.x.x:100.
Check this first...
PS One further thought - make sure the server program is still running when you start the client programs, that is why we run/compile them first, then run the exes from working folder (server then clients).
Also there may be an os confirmation popup first time server is run.
I assume you did save the files somewhere first so that Program.Directory works in a local folder.
You get this error running the client when the localhost IP is not set correctly.
What is set in the "ConnectIP.txt" file written by the server program, it should be something like 192.168.0.118:100, the 0.118 will be different (your local/private IP address), but the rest probably the same 192.168.x.x:100.
Check this first...
PS One further thought - make sure the server program is still running when you start the client programs, that is why we run/compile them first, then run the exes from working folder (server then clients).
Also there may be an os confirmation popup first time server is run.