I'm trying to make my 1v1 game playable online and I would like to have the 2 players connected directly rather than trough a server.
The problem I'm having is that I don't have any experience with server client communication or internet libraries in c++, so I would be glad if someone would give me some tips like what library to use, maybe a link to some tutorials or even better an example of how you did something similar in c++.
@CLman94 thanks, this looks interesting. But looks like I have trouble linking the ws2_32.lib in the build options. I'm using codeblocks, could you tell me what am I suppose to write in the linker?
Thanks