dplay_port
Sets a port number for the session_connect function.
Range:
0..9999 (default:
2300 or the number given with the -port command line option).
Type:
var
Remarks:
- This variable must have the same value on clients and server. It must be set
before session_connect and can not be changed afterwards.
-
When you're behind a firewall or router, use port forwarding to direct Internet data traffic with your port number to your local server IP address. See your router's manual for details about how to set up port forwarding.
Edition:
C
Example:
function main() {
dplay_port = 8000;
...
See also:
dplay_smooth, dplay_unreliable, dplay_compression
► latest
version online