Nilorea Library

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Files Functions Variables Typedefs Macros Groups
Data Fields
N_SOCKET Struct Reference
NETWORK: connect, accept, send and recv wrappers. Network Queue, thread-safe add/get message

`#include <n_network.h>`

## Data Fields

int | port
SOCKET | sock
char * | ip
struct sockaddr_in | haddr
struct sockaddr_in | raddr

## Detailed Description

Structure of a N_SOCKET

Definition at line 87 of file n_network.h.

## Field Documentation

struct sockaddr_in haddr

address of local machine

Definition at line 97 of file n_network.h.

char* ip

ip of the connected socket

Definition at line 94 of file n_network.h.

int port

port of socket

Definition at line 90 of file n_network.h.

struct sockaddr_in raddr

address of remote machine

Definition at line 99 of file n_network.h.

SOCKET sock

a normal socket

Definition at line 92 of file n_network.h.

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

- include/n_network.h