DTS Application Library  0.2.3
Application library containing referenced objects and interfaces to common libraries
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
fwsocket Struct Reference

Socket data structure. More...

#include <dtsapp.h>

Data Fields

int sock
 Socket FD. More...
 
int proto
 Socket protocol. More...
 
int type
 Socket type. More...
 
enum sock_flags flags
 Socket control flags. More...
 
union sockstruct addr
 system socket data structure. More...
 
struct ssldatassl
 SSL structure for encryption. More...
 
struct fwsocketparent
 Parent socket if we connected to a server and were spawned. More...
 
struct bucket_listchildren
 We are the parent this is a list of spawn. More...
 

Detailed Description

Socket data structure.

Examples:
socket.c.

Definition at line 131 of file dtsapp.h.

Field Documentation

union sockstruct fwsocket::addr

system socket data structure.

See Also
sockstruct

Definition at line 143 of file dtsapp.h.

Referenced by accept_socket(), dtls_listenssl(), mcast_socket(), socketwrite_d(), and unixsocket_client().

struct bucket_list* fwsocket::children

We are the parent this is a list of spawn.

Definition at line 150 of file dtsapp.h.

Referenced by socketserver().

enum sock_flags fwsocket::flags

Socket control flags.

See Also
sock_flags

Definition at line 140 of file dtsapp.h.

Referenced by mcast_socket(), socketread_d(), socketserver(), socketwrite_d(), and unixsocket_client().

struct fwsocket* fwsocket::parent

Parent socket if we connected to a server and were spawned.

Definition at line 148 of file dtsapp.h.

int fwsocket::proto

Socket protocol.

Definition at line 135 of file dtsapp.h.

Referenced by accept_socket(), dtls_listenssl(), and make_socket().

int fwsocket::sock
struct ssldata* fwsocket::ssl
int fwsocket::type

Socket type.

Definition at line 137 of file dtsapp.h.

Referenced by accept_socket(), dtls_listenssl(), make_socket(), socketread_d(), socketserver(), socketwrite_d(), and startsslclient().


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