-4

I try to create a multithreaded server for getting reports about the usage, but I can not make the client connect to the server.

Can you please have a look and explain to me why ? I do not want any piece of code!

Here is the server's communication layer and here is the client's communication layer.

Thanks,

Daniel

Community
  • 1
  • 1
  • Have you done unit tests on this code, i.e. tested each server and client in isolation? This would be a basic step before going any further. – nepdev Aug 12 '15 at 16:36
  • Found the issue, I replaced IPAddress.Loopback with localhost and it worked. My new question is : Shouldn't IPAddress.Loopback, "127.0.0.1" and localhost be the same thing ? – Petru Daniel Tudosiu Aug 13 '15 at 07:24

1 Answers1

0

The problem was on the client side. I resolved it by replacing "127.0.0.1" with "localhost".