[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.1 IPaddress

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

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.

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

See Also:
3.2 Name Resolution, 3.3.1 SDLNet_TCP_Open, 4.4 UDPpacket



This document was generated on November, 3 2009 using texi2html