프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ActiveConnections | int | ||
HostCacheCount | int | ||
HostPort | int | ||
LanDriverLevel | int | ||
Message | MsgWriter | ||
Reader | MsgReader | ||
SlistLocal | bool | ||
SlistSilent | bool |
메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | bool |
public static SendMessage ( |
||
sock | ||
data | MsgWriter | |
리턴 | int |
public static SendToAll ( MsgWriter data, int blocktime ) : int | ||
data | MsgWriter | |
blocktime | int | |
리턴 | int |
public static SendUnreliableMessage ( |
||
sock | ||
data | MsgWriter | |
리턴 | int |