39 void set_collect_tcp(
bool collect_tcp);
40 bool get_collect_tcp()
const;
41 void set_collect_tcp_interval(
double interval);
42 double get_collect_tcp_interval()
const;
44 BLOCKING
bool consider_flush();
45 BLOCKING
bool flush();
48 void set_linger(
bool flag,
double time);
49 void set_reuse_addr(
bool flag);
50 void set_keep_alive(
bool flag);
51 void set_recv_buffer_size(
int size);
52 void set_send_buffer_size(
int size);
53 void set_ip_time_to_live(
int ttl);
54 void set_ip_type_of_service(
int tos);
55 void set_no_delay(
bool flag);
56 void set_max_segment(
int size);
59 bool send_datagram(
const NetDatagram &datagram,
int tcp_header_size);
60 bool send_raw_datagram(
const NetDatagram &datagram);
62 bool check_send_error(
bool okflag);
69 double _collect_tcp_interval;
70 double _queued_data_start;
71 std::string _queued_data;
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The primary interface to the low-level networking layer in this package.
A lightweight reentrant mutex.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class handles threaded delivery of datagrams to various TCP or UDP sockets.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.