SDL_Struct

Name

IPaddress -- contains information used to form network connections and sockets.

Structure Definition

typedef struct {
    Uint32 host;            /* 32-bit IPv4 host address */
    Uint16 port;            /* 16-bit protocol port */
} IPaddress;

Structure Data

host

the IPv4 address of a host, encoded in Network Byte Order.

port

the IPv4 port number of a socket, encoded in Network Byte Order.

Description

This type contains the information used to form network connections and sockets.

See Also

NameResolution, SDLNet_TCP_Open, UDPpacket

IPaddress (last edited 2008-04-17 08:18:22 by localhost)