Property | Type | Description | |
---|---|---|---|
ActiveConnections | int | ||
HostCacheCount | int | ||
HostPort | int | ||
LanDriverLevel | int | ||
Message | MsgWriter | ||
Reader | MsgReader | ||
SlistLocal | bool | ||
SlistSilent | bool |
Method | Description | |
---|---|---|
CanSendMessage ( |
NET_CanSendMessage Returns true or false if the given qsocket can currently accept a message to be transmitted.
|
|
CheckNewConnections ( ) : |
NET_CheckNewConnections
|
|
Close ( |
NET_Close
|
|
Connect ( string host ) : |
NET_Connect called by client to connect to a host. Returns -1 if not able to connect
|
|
FreeSocket ( |
NET_FreeQSocket
|
|
GetMessage ( |
NET_GetMessage returns data in net_message sizebuf returns 0 if no data is waiting returns 1 if a message was received returns 2 if an unreliable message was received returns -1 if the connection died
|
|
Init ( ) : void | ||
NewSocket ( ) : |
NET_NewQSocket Called by drivers when a new communications endpoint is required The sequence and buffer fields will be filled in properly
|
|
Poll ( ) : void |
NET_Poll
|
|
SendMessage ( |
NET_SendMessage Try to send a complete length+message unit over the reliable stream. returns 0 if the message cannot be delivered reliably, but the connection is still considered valid returns 1 if the message was sent properly returns -1 if the connection died
|
|
SendToAll ( MsgWriter data, int blocktime ) : int |
NET_SendToAll This is a reliable *blocking* send to all attached clients.
|
|
SendUnreliableMessage ( |
NET_SendUnreliableMessage returns 0 if the message connot be delivered reliably, but the connection is still considered valid returns 1 if the message was sent properly returns -1 if the connection died
|
|
SetNetTime ( ) : double | ||
Shutdown ( ) : void |
NET_Shutdown
|
|
Slist_f ( ) : void |
NET_Slist_f
|
Method | Description | |
---|---|---|
Listen_f ( ) : void | ||
MaxPlayers_f ( ) : void | ||
Port_f ( ) : void | ||
PrintSlist ( ) : void | ||
PrintSlistHeader ( ) : void | ||
PrintSlistTrailer ( ) : void | ||
SchedulePollProcedure ( |
SchedulePollProcedure
|
|
SlistPoll ( object arg ) : void |
Slist_Poll
|
|
SlistSend ( object arg ) : void |
Slist_Send
|
public static CanSendMessage ( |
||
sock | ||
return | bool |
public static CheckNewConnections ( ) : |
||
return |
public static Close ( |
||
sock | ||
return | void |
public static Connect ( string host ) : |
||
host | string | |
return |
public static FreeSocket ( |
||
sock | ||
return | void |
public static GetMessage ( |
||
sock | ||
return | int |
public static SendMessage ( |
||
sock | ||
data | MsgWriter | |
return | int |
public static SendToAll ( MsgWriter data, int blocktime ) : int | ||
data | MsgWriter | |
blocktime | int | |
return | int |
public static SendUnreliableMessage ( |
||
sock | ||
data | MsgWriter | |
return | int |