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

A place for Ogre users to discuss non-Ogre subjects with friends from the community.
Post Reply
Gregor386
Gnoblar
Posts: 11
Joined: Fri Sep 19, 2008 6:01 pm

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

Post 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.
I was wondering what to write about here, and than I saw the tiny little text on some page. Now I'm telling the world how awesome I am AND that I really like cookies.
User avatar
lonewolff
Ogre Magi
Posts: 1207
Joined: Wed Dec 28, 2005 12:58 am
x 6

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

Post 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
Penguin
Halfling
Posts: 83
Joined: Fri Feb 15, 2008 6:39 pm

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

Post by Penguin »

Well first you have to setup port forwarding on your router, so it's accessible from the internet.
Post Reply