MPMA Framework 0.4
Namespaces | Classes | Functions
NET Namespace Reference

Networking. More...

Namespaces

namespace  UPNP
 

Utilities to help bypass NATs.


Classes

class  Address
 Represents an IP address and port. More...
class  TCPClient
 Represents a stream-based reliable connection to another PC. More...
class  TCPServer
 Listens for new connections and spawns a TCPClient to recieve them. More...
class  UDPClient
 Used to send udp packets. More...

Functions

std::string GetLocalIP ()
 Retrieves the IP address of the current machine. This will likely be the IP on the local network, and not the internet-facing IP.
std::string GetNetworkBroadcastIP ()
 Retrieves the IP address for network broadcasts for the current network.
std::string GetDirectBroadcastIP ()
 Retrieves the global broadcast address.

Detailed Description

Networking.


Function Documentation

std::string NET::GetDirectBroadcastIP ( )

Retrieves the global broadcast address.

Retrieves the IP address for broadcasting to directly physically connected devices.

std::string NET::GetNetworkBroadcastIP ( )

Retrieves the IP address for network broadcasts for the current network.

Retrieves the IP address for broadcasting to the current subnet.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends