I made a chat program that uses winsock, but it didn't work over 2 computers on the internet, but when i tried it at school it worked fine.
Is winsock supposed to work over the internet? and if it isn't what would?
Printable View
I made a chat program that uses winsock, but it didn't work over 2 computers on the internet, but when i tried it at school it worked fine.
Is winsock supposed to work over the internet? and if it isn't what would?
Yes Winsock can be used over internet.
Make sure you connecting to the correct IP
and what protocol you using? ( Both work, im just curious )
i dont know what a protocol is (im new 2 winsock and know very little), but i have all the ports on 1000.
Ok so what exactly is the problem,
but it didn't work over 2 computers on the internet doesnt really give us some idea what is wrong
i made a chat program from the winsock tutorial on this page. I tried running the chat program on my computer and on my bro's computer, but it didn't work. But when i tried it at school it worked fine.
If you email me ( click Profile below my this message ) i will gladly explain and show you how winsock works.
Not wanting to sound dumb, but both computers were connected to the internet at the same time, and both using diffrent connections (Otherwise the IP would be the same and it wouldn't work)Quote:
Originally posted by Superkat86
i made a chat program from the winsock tutorial on this page. I tried running the chat program on my computer and on my bro's computer, but it didn't work. But when i tried it at school it worked fine.