Tao.Sdl SDK Documentation

SdlNet.UDPpacket Fields

The fields of the SdlNet.UDPpacket structure are listed below. For a complete list of SdlNet.UDPpacket structure members, see the SdlNet.UDPpacket Members topic.

Public Instance Fields

address This is the resolved IPaddress to be used when sending, or it is the remote source of a received packet.
channel The (software) channel number for this packet. This can also be used as a priority value for the packet. If no channel is assigned, the value is -1.
data The data contained in this packet, this is the meat.
len This is the meaningful length of the data in bytes.
maxlen This is size of the data buffer, which may be larger than the meaningful length. This is only used for packet creation on the senders side.
status This contains the number of bytes sent, or a -1 on errors, after sending. This is useless for a received packet.

See Also

SdlNet.UDPpacket Class | Tao.Sdl Namespace | SdlNet.UDPsocket | SdlNet.IPaddress | SDLNet_AllocPacket | SDLNet_ResizePacket | SDLNet_FreePacket | SDLNet_AllocPacketV | SDLNet_FreePacketV