How do I do to make a game that I can play over network.
Anyone got any idea
Printable View
How do I do to make a game that I can play over network.
Anyone got any idea
You could always use DirectPlay if you don't know what the protocol is. I usually use the Winsock control and a TCP/IP network. Just send information on a specific high-number port.
use winsock to send the variables such as position and scores over the network. Ports over 2024 are safe I think.
Why not on a lower port?
A lot of the lower ports are already accounted for, and I think there are security limitations on some of them.
I thought only a few:
Port 80 - http
... - ftp
Can't remember the rest
Go to http://grc.com/default.htm and select ShieldsUp! for some interesting information on ports.