Torque2D Reference
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Attributes | List of all members
NetAddress Struct Reference

#include <event.h>

Public Types

enum  { IPAddress, IPXAddress }
 Acceptable NetAddress types. More...
 

Public Attributes

int type
 Type of address (IPAddress currently) More...
 
U8 netNum [4]
 
U8 nodeNum [6]
 
U16 port
 

Detailed Description

Generic network address

This is used to represent IP addresses.

Member Enumeration Documentation

anonymous enum

Acceptable NetAddress types.

Enumerator
IPAddress 
IPXAddress 

Member Data Documentation

U8 netNum[4]
 For IP:  sin_addr<br>

For IPX: sa_netnum

U8 nodeNum[6]
For IP:  Not used.<br>

For IPX: sa_nodenum (not used by IP)

U16 port
       For IP:  sin_port<br>

For IPX: sa_socket

int type

Type of address (IPAddress currently)


The documentation for this struct was generated from the following file: