public class cMsgNetworkConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
bigBufferSize
The size (in bytes) of big buffers used to send data from client to server.
|
static int |
biggestUdpBufferSize
The size (in bytes) of biggest buffers used to send UDP data from client to server.
|
static int |
biggestUdpPacketSize
The biggest single UDP packet size is 2^16 - IP(v6) 40 byte header - 8 byte UDP header.
|
static int |
cMsgDomainMulticast
Int to send in UDP packet to cMsg name server if cMsg domain.
|
static java.lang.String |
cMsgMulticast
Multicast address used in cMsg domain = "239.220.0.0"
|
static int |
domainServerPort
Default TCP port at which a cMsg domain, domain server listens for 2 client connections
(after that client has connected to name server) = 45001
|
static int |
emuDomainMulticastClient
Int to send in UDP packet to server if Emu domain and sender is client.
|
static int |
emuDomainMulticastKillSelf
Tell Emu multicast server to kill himself since server at that port and expid already exists.
|
static int |
emuDomainMulticastProbe
Client is just trying to find Emu multicast servers.
|
static int |
emuDomainMulticastServer
Int to send in UDP packet to Emu multicast server if Emu domain and sender is server.
|
static java.lang.String |
emuMulticast
Multicast address used in Emu domain = "239.230.0.0"
|
static int |
emuTcpPort
Default TCP port at which an Emu domain server listens for client connections = 46100
|
static int[] |
magicNumbers
Ints representing ascii for "cMsg is cool", used to filter out port-scanning software.
|
static int |
nameServerTcpPort
Default TCP port at which a cMsg domain name server listens for client connections = 45000
|
static int |
nameServerUdpPort
Default UDP port at which a cMsg name server listens for multicasts = 45000
|
static int |
rcDomainMulticastClient
Int to send in UDP packet to server if RC domain and sender is client.
|
static int |
rcDomainMulticastKillSelf
Tell RCMulticast server to kill himself since server at that port and expid already exists.
|
static int |
rcDomainMulticastProbe
Client is just trying to find RCMulticast servers.
|
static int |
rcDomainMulticastServer
Int to send in UDP packet to rc multicast server if RC domain and sender is server.
|
static java.lang.String |
rcMulticast
Multicast address used in runcontrol domain = "239.210.0.0"
|
static int |
rcMulticastPort
Default UDP port at which a run control multicast server listens for multicasts = 45200
|
static int |
rcServerPort
TCP port at which a run control server starts looking for a port to listen
for a client connection on = 45300
|
static int |
rcTcpClientPort
TCP port at which a run control client starts looking for a port to listen on and the port
that a run control server assumes a client is waiting for connections on = 45700
|
static int |
tcpServerPort
TCP port at which a TCPServer server listens for connections = 45600
|
static int |
UdpClientPortMax
Maximum value of a local UDP port range to avoid for client who multicasts looking a server.
|
static int |
UdpClientPortMin
Mimimum value of a local UDP port range to avoid for client who multicasts looking a server.
|
public static final int[] magicNumbers
public static final java.lang.String rcMulticast
public static final java.lang.String cMsgMulticast
public static final java.lang.String emuMulticast
public static final int emuTcpPort
public static final int nameServerTcpPort
public static final int nameServerUdpPort
public static final int domainServerPort
public static final int rcMulticastPort
public static final int rcServerPort
public static final int rcTcpClientPort
public static final int tcpServerPort
public static final int UdpClientPortMin
public static final int UdpClientPortMax
public static final int cMsgDomainMulticast
public static final int rcDomainMulticastClient
public static final int rcDomainMulticastServer
public static final int rcDomainMulticastKillSelf
public static final int rcDomainMulticastProbe
public static final int emuDomainMulticastClient
public static final int emuDomainMulticastServer
public static final int emuDomainMulticastKillSelf
public static final int emuDomainMulticastProbe
public static final int biggestUdpPacketSize
public static final int biggestUdpBufferSize
public static final int bigBufferSize