18 #include "pandabase.h" 19 #include "referenceCount.h" 20 #include "netAddress.h" 21 #include "lightReMutex.h" 42 void set_collect_tcp(
bool collect_tcp);
43 bool get_collect_tcp()
const;
44 void set_collect_tcp_interval(
double interval);
45 double get_collect_tcp_interval()
const;
47 BLOCKING
bool consider_flush();
48 BLOCKING
bool flush();
52 void set_linger(
bool flag,
double time);
53 void set_reuse_addr(
bool flag);
54 void set_keep_alive(
bool flag);
55 void set_recv_buffer_size(
int size);
56 void set_send_buffer_size(
int size);
57 void set_ip_time_to_live(
int ttl);
58 void set_ip_type_of_service(
int tos);
59 void set_no_delay(
bool flag);
60 void set_max_segment(
int size);
63 bool send_datagram(
const NetDatagram &datagram,
int tcp_header_size);
64 bool send_raw_datagram(
const NetDatagram &datagram);
66 bool check_send_error(
bool okflag);
73 double _collect_tcp_interval;
74 double _queued_data_start;
A specific kind of Datagram, especially for sending across or receiving from a network.
Base functionality for a INET domain Socket this call should be the starting point for all other unix...
The primary interface to the low-level networking layer in this package.
A lightweight reentrant mutex.
This class handles threaded delivery of datagrams to various TCP or UDP sockets.
A base class for all things that want to be reference-counted.
Represents a single TCP or UDP socket for input or output.
Represents a network address to which UDP packets may be sent or to which a TCP socket may be bound...