#include <sys/stat.h>
#include <sys/time.h>
#include <limits.h>
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include "assa/Address.h"
#include "assa/Streambuf.h"
Include dependency graph for Socket.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | ASSA |
Classes | |
class | ASSA::Socket |
Defines | |
#define | BYTES_LEFT_IN_SOCKBUF(s) ((s).eof () ? -1 : (s).in_avail ()) |
BYTES_LEFT_IN_SOCKBUF macro returns number of unprocessed bytes left in ASSA's double-buffer from EventHandler::handle_read() callback. | |
#define | BYTES_LEFT_IN_SIN (cin.eof () ? -1 : cin.rdbuf ()->in_avail ()) |
BYTES_LEFT_IN_SIN macro returns number of unprocessed bytes left in cin internal buffer. | |
Functions | |
Socket & | ASSA::flush (Socket &os_) |
flush manipulator. | |
Socket & | ASSA::endl (Socket &os_) |
endl manipulator. | |
Socket & | ASSA::ends (Socket &os_) |
ends manipulator. |
This will be a subclass of instream
Definition in file Socket.h.
|
BYTES_LEFT_IN_SIN macro returns number of unprocessed bytes left in cin internal buffer.
|
|
BYTES_LEFT_IN_SOCKBUF macro returns number of unprocessed bytes left in ASSA's double-buffer from EventHandler::handle_read() callback. Unless for a valid reason, this macro should always be called.
|