Well I have been working a small project and it requires communicating between programs that are in different computers. So I wanted to test winsock before I started putting it in my program.
I have downloaded lots of sources that are very basic client server chats and followed tutorials, but still they don't work.
They work on my own computer, but if I send the client or the server to my friend, it doesn't work.
So is it even possible to get winsock to work?
For example I enter a value (x=5000) and my friend who is running the same program on his computer can see that I entered 5000.

Or is there a more simple way for 2 programs to interact with each other on different computers?

Thanks a lot.