Torque3D Documentation / _generateds / PlatformNetState

PlatformNetState

Engine/source/platform/platformNet.cpp

More...

Public Functions

bool
extractAddressParts(const char * addressString, char outAddress, int & outPort, int & outFamily)

Extracts core address parts from an address string. Returns false if it's malformed.

getSocketAddress(SOCKET socketFd, int requiredFamily, NetAddress * outAddress)
struct addrinfo *
pickAddressByProtocol(struct addrinfo * addr, int protocol)

Detailed Description

Public Variables

const S32 defaultPort 
S32 initCount 
ipv6_mreq multicast6Group 
NetSocket multicast6Socket 
S32 netPort 
ReservedSocketList< SOCKET > smReservedSocketList 
NetSocket udp6Socket 
NetSocket udpSocket 

Public Functions

extractAddressParts(const char * addressString, char outAddress, int & outPort, int & outFamily)

Extracts core address parts from an address string. Returns false if it's malformed.

getDefaultGameProtocol()

getLastError()

getSocketAddress(SOCKET socketFd, int requiredFamily, NetAddress * outAddress)

pickAddressByProtocol(struct addrinfo * addr, int protocol)