A generic type for UDP and TCP sockets
For a list of all members of this type, see SdlNet.SDLNet_GenericSocket Members.
System.Object
System.ValueType
Tao.Sdl.SdlNet.SDLNet_GenericSocket
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
This data type is able to be used for both UDPsocket and TCPsocket types. After calling SDLNet_CheckSockets, if this socket is in SDLNet_SocketSet used, the ready will be set according to activity on the socket. This is the only real use for this type, as it doesn't help you know what type of socket it is.
typedef struct { int ready; } *SDLNet_GenericSocket;
Namespace: Tao.Sdl
Assembly: Tao.Sdl (in Tao.Sdl.dll)
SdlNet.SDLNet_GenericSocket Members | Tao.Sdl Namespace | SdlNet.TCPsocket | SdlNet.UDPsocket