The Inet Transport is an implementation of the DOF Transport Layer (see DTL) for TCP/IP and UDP/IP over IPv4 and IPv6.
More...
|
| void | InetTransport_Init (void) |
| | Initialize the Inet transport implementation for use.
|
| |
| void | InetTransport_Shutdown (void) |
| | Release any state the Inet transport is currently maintaining, and return to an uninitialized state.
|
| |
| DOFAddress | InetTransport_CreateAddress (const char *hostname, uint16 port) |
| | Creates a new address from hostname and port.
|
| |
| DOFAddress | InetTransport_CreateAddress_Interface (const char *hostname, uint16 port, const char *iface) |
| | Create a new address from hostname, port and an interface name e.g.
|
| |
| DOFAddress | InetTransport_CreateAddress_Sockaddr (const struct sockaddr *addr, uint32 addrSize) |
| | Create a new address from an existing, standard sockaddr structure.
|
| |
| DOFAddress | InetTransport_CreateAddress_Sockaddr_Interface (const struct sockaddr *addr, uint32 addrSize, const char *iface) |
| | Create a new address from an existing, standard sockaddr structure and an interface index.
|
| |
| DOFAddress | InetTransport_CreateIPv4Address (const uint8 addr[4], uint16 port) |
| | Create a new IPv4 address given an address and a port.
|
| |
| DOFAddress | InetTransport_CreateIPv6Address (const uint8 addr[16], uint16 port) |
| | Create a new IPv6 address given an address and a port.
|
| |
| struct sockaddr * | InetTransport_GetAddress (const DOFAddress addr) |
| | Return the standard sockaddr structure represented by the DOFAddress.
|
| |
| uint32 | InetTransport_GetAddressSize (const DOFAddress addr) |
| | Return the size of the sockaddr structure available through InetTransport_GetAddress.
|
| |
| uint32 | InetTransport_GetAddressInterface (const DOFAddress addr) |
| | Return the interface index of the InetTransport address.
|
| |
The Inet Transport is an implementation of the DOF Transport Layer (see DTL) for TCP/IP and UDP/IP over IPv4 and IPv6.