Main Page | Class List | File List | Class Members | File Members | Related Pages

tcp_conn Struct Reference

#include <tcpc.h>

List of all members.

Public Attributes

Public
FDBufbuf
void * udata
Read-only
int fd
in_addr_t host
in_port_t port
unsigned char outgoing: 1
unsigned long in
unsigned long out
Private
Arraywqueue
input_id wqueue_id
float adjust


Detailed Description

Basic building block for all connections spawned using libgiFT. If you wish to use libgiFT at all, use these.


Member Data Documentation

float tcp_conn::adjust
 

Ratio to adjust the send/recv buffer

FDBuf* tcp_conn::buf
 

Read buffer

int tcp_conn::fd
 

The file discriptor of this connection

in_addr_t tcp_conn::host
 

Peer host address

unsigned long tcp_conn::in
 

Number of bytes received

unsigned long tcp_conn::out
 

Number of bytes sent

unsigned char tcp_conn::outgoing
 

Simple convenience so you know which direction this connection was initiated

in_port_t tcp_conn::port
 

Peer connection port

void* tcp_conn::udata
 

Any arbitrary data that you want passed along

Array* tcp_conn::wqueue
 

Write queue for tcp_write

input_id tcp_conn::wqueue_id
 

Automagically write when avail


The documentation for this struct was generated from the following file:
Generated on Sun Aug 22 08:07:11 2004 by doxygen 1.3.7