Page 1 of 1

[Winsock2]Connecting to a remote custom server (via internet

Posted: Sun Feb 01, 2009 7:16 pm
by Gregor386
Hello.

I'd like to create a server, bind it to my computer (which is connected to the internet tru a wireless router ) and than run my client on a computer which is 1234km away.

Went thru the WWW, finding nothing but stuff that works on lan.


Also, if anyone knows anything about p2p, client2client programming, please give me a link, a book, a query, a darn picture will do!


Thanks.

Re: [Winsock2]Connecting to a remote custom server (via internet

Posted: Fri Feb 06, 2009 7:41 am
by lonewolff
What is it you want to serve? A custom application? Or a typical service like FTP, SMTP, HTTP, etc..

If it is custom, then Winsock is the way to go. IMHO :D

Re: [Winsock2]Connecting to a remote custom server (via internet

Posted: Fri Feb 06, 2009 3:54 pm
by Penguin
Well first you have to setup port forwarding on your router, so it's accessible from the internet.