Метод | Описание | |
---|---|---|
SDLNet_GetError ( ) : string |
Get the current error string This is the same as SDL_GetError, which returns the last error set as a string which you may use to tell the user what happened when an error status has been returned from an SDLNet_function. Binds to C-function call in SDL_error.h: |
|
SDLNet_Linked_Version ( ) : Tao.Sdl.Sdl.SDL_version |
Using this you can compare the runtime version to the version that you compiled with. Binds to C-function call in SDL_net.h: |
|
SDLNet_SetError ( string message ) : void |
This is the same as SDL_SetError, which sets an SDL error message Binds to C-function call in SDL_error.h: |
|
SDLNet_SocketReady ( |
See if a socket has activity Check whether a socket has been marked as active. This function should only be used on a socket in a socket set, and that set has to have had SDLNet_CheckSockets (see SDLNet_CheckSockets) called upon it. Binds to C-function call in SDL_net.h: |
|
SDLNet_TCP_AddSocket ( SDLNet_SocketSet set, |
Add a socket to a socket set Add a socket to a socket set that will be watched. Binds to C-function call in SDL_net.h: |
|
SDLNet_TCP_DelSocket ( SDLNet_SocketSet set, |
Remove a socket from a socket set Free the socket set from memory. Do not reference the set after this call, except to allocate a new one. Binds to C-function call in SDL_net.h: |
|
SDLNet_UDP_AddSocket ( SDLNet_SocketSet set, |
Add a socket to a socket set Add a socket to a socket set that will be watched. Binds to C-function call in SDL_net.h: |
|
SDLNet_UDP_DelSocket ( SDLNet_SocketSet set, |
Remove a socket from a socket set Free the socket set from memory. Do not reference the set after this call, except to allocate a new one. Binds to C-function call in SDL_net.h: |
|
SDL_NET_VERSION ( ) : Tao.Sdl.Sdl.SDL_version |
This method can be used to fill a version structure with the compile-time version of the SDL_net library. Binds to C-function call in SDL_net.h: |
Метод | Описание | |
---|---|---|
SDLNet_AddSocket ( SDLNet_SocketSet set, SDLNet_GenericSocket sock ) : int | ||
SDLNet_AllocPacket ( int size ) : |
||
SDLNet_AllocPacketV ( int howmany, int size ) : |
||
SDLNet_AllocSocketSet ( int maxsockets ) : SDLNet_SocketSet | ||
SDLNet_CheckSockets ( SDLNet_SocketSet set, int timeout ) : int | ||
SDLNet_DelSocket ( SDLNet_SocketSet set, SDLNet_GenericSocket sock ) : void | ||
SDLNet_FreePacket ( |
||
SDLNet_FreePacketV ( |
||
SDLNet_FreeSocketSet ( SDLNet_SocketSet set ) : void | ||
SDLNet_Init ( ) : int | ||
SDLNet_Linked_VersionInternal ( ) : |
||
SDLNet_Quit ( ) : void | ||
SDLNet_Read16 ( |
||
SDLNet_Read32 ( |
||
SDLNet_ResizePacket ( |
||
SDLNet_ResolveHost ( IPaddress &address, string host, short port ) : int | ||
SDLNet_ResolveIP ( IPaddress &address ) : string | ||
SDLNet_TCP_Accept ( TCPsocket server ) : |
||
SDLNet_TCP_Close ( |
||
SDLNet_TCP_GetPeerAddress ( TCPsocket sock ) : |
||
SDLNet_TCP_Open ( IPaddress &ip ) : |
||
SDLNet_TCP_Recv ( TCPsocket sock, |
||
SDLNet_TCP_Send ( TCPsocket sock, |
||
SDLNet_UDP_Bind ( |
||
SDLNet_UDP_Close ( |
||
SDLNet_UDP_GetPeerAddress ( |
||
SDLNet_UDP_Open ( short port ) : |
||
SDLNet_UDP_Recv ( |
||
SDLNet_UDP_RecvV ( |
||
SDLNet_UDP_Send ( |
||
SDLNet_UDP_SendV ( |
||
SDLNet_UDP_Unbind ( |
||
SDLNet_Write16 ( short value, |
||
SDLNet_Write32 ( int value, |
public static SDLNet_GetError ( ) : string | ||
Результат | string |
public static SDLNet_Linked_Version ( ) : Tao.Sdl.Sdl.SDL_version | ||
Результат | Tao.Sdl.Sdl.SDL_version |
public static SDLNet_SetError ( string message ) : void | ||
message | string | /// The error message to set. /// |
Результат | void |
public static SDLNet_SocketReady ( |
||
sock | /// The socket to check for activity. /// Both UDPsocket and TCPsocket can be used with this function. /// | |
Результат | int |
public static SDLNet_TCP_AddSocket ( SDLNet_SocketSet set, |
||
set | SDLNet_SocketSet | /// The socket set to add this socket to /// |
sock | /// The socket to add to the socket set /// | |
Результат | int |
public static SDLNet_TCP_DelSocket ( SDLNet_SocketSet set, |
||
set | SDLNet_SocketSet | /// The socket set to remove this socket from /// |
sock | /// the socket to remove from the socket set /// | |
Результат | void |
public static SDLNet_UDP_AddSocket ( SDLNet_SocketSet set, |
||
set | SDLNet_SocketSet | /// The socket set to add this socket to /// |
sock | /// The socket to add to the socket set /// | |
Результат | int |
public static SDLNet_UDP_DelSocket ( SDLNet_SocketSet set, |
||
set | SDLNet_SocketSet | /// The socket set to remove this socket from /// |
sock | /// the socket to remove from the socket set /// | |
Результат | void |
public static SDL_NET_VERSION ( ) : Tao.Sdl.Sdl.SDL_version | ||
Результат | Tao.Sdl.Sdl.SDL_version |