raw_socket.cpp File Reference

#include "imp_sockets.h"
#include "raw_socket.h"
#include "tcpip_definitions.h"
#include "tcpip_stack.h"
#include <basis/function.h>
#include <basis/portable.h>
#include <loggers/console_logger.h>
#include <arpa/inet.h>
#include <errno.h>
#include <netinet/tcp.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <unistd.h>

Include dependency graph for raw_socket.cpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define OPTYPE   (void *)
#define LOG(to_print)   CLASS_EMERGENCY_LOG(console_logger(), to_print)

Functions

void combine (istring &existing, const istring &addition)

Variables

const int MULTIPLE_DISCONNECT_CHECKS = 28
const u_int NON_BLOCKING = FIONBIO
const u_int IOCTL_READ = FIONREAD


Define Documentation

#define LOG ( to_print   )     CLASS_EMERGENCY_LOG(console_logger(), to_print)

Definition at line 44 of file raw_socket.cpp.

#define OPTYPE   (void *)

Definition at line 34 of file raw_socket.cpp.

Referenced by raw_socket::set_broadcast(), raw_socket::set_keep_alive(), raw_socket::set_nagle_algorithm(), and raw_socket::set_reuse_address().


Function Documentation

void combine ( istring existing,
const istring addition 
) [inline]

Definition at line 95 of file raw_socket.cpp.

References istring::t().

Referenced by raw_socket::interest_name().


Variable Documentation

const u_int IOCTL_READ = FIONREAD

Definition at line 56 of file raw_socket.cpp.

const int MULTIPLE_DISCONNECT_CHECKS = 28

Definition at line 46 of file raw_socket.cpp.

Referenced by raw_socket::analyze_select_result().

const u_int NON_BLOCKING = FIONBIO

Definition at line 55 of file raw_socket.cpp.


Generated on Fri Aug 29 04:29:26 2008 for HOOPLE Libraries by  doxygen 1.5.1