#include <env_universal_common.h>
Collaboration diagram for connection:

Data Fields | |
| int | fd |
| The file descriptor this socket lives on. | |
| dyn_queue_t | unsent |
| Queue of onsent messages. | |
| int | killme |
| Set to one when this connection should be killed. | |
| buffer_t | input |
| The input string. | |
| char | buffer [ENV_UNIVERSAL_BUFFER_SIZE] |
| The read buffer. | |
| int | buffer_consumed |
| Number of bytes that have already been consumed. | |
| int | buffer_used |
| Number of bytes that have been read into the buffer. | |
| connection * | next |
| Link to the next connection. | |
|
|
The input string. Input from the socket goes here. When a newline is encountered, the buffer is parsed and cleared. |
1.4.4