Tao.Sdl SDK Documentation

SdlNet.SDLNet_GenericSocket Structure

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

[Visual Basic]
Public Structure SdlNet.SDLNet_GenericSocket
[C#]
public struct SdlNet.SDLNet_GenericSocket

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

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;
            

Requirements

Namespace: Tao.Sdl

Assembly: Tao.Sdl (in Tao.Sdl.dll)

See Also

SdlNet.SDLNet_GenericSocket Members | Tao.Sdl Namespace | SdlNet.TCPsocket | SdlNet.UDPsocket