Good, I'm new to this, and I have a little doubt.
The thing is that I have a solution that has 2 projects, one is called Server and another Client (the code of them is almost exact to this link ). Compile without errors both.
The problem is that when the Ctrl + F5 of the server went well, the console opened and nothing appeared, but in principle it had to be like that. But when I put on the client and gave him a run another console opened (correct is what I want) but the console came out
"bind failed with error: 10048"
As I was not sure which would fail if the server or the client (the 2 consoles were the same) I put a cout
"Server" in the server code and another "Client" in the client's code.
Well what I get is that when the server runs the console with "Server" written (well!) and when trying to run the client comes out another console with "Server blind failed ...". So it opens 2 times the cpp of the server.
Ok, the thing is, how can I run the client? Why do I only run the server?
To be clear, my goal is to make the link example work (there is the server and client code) with 2 consoles open at the same time on the same computer.
Thanks in advance.