#include <unistd.h>#include <sys/socket.h>#include <sys/time.h>#include <netdb.h>#include <netinet/in.h>#include <netinet/tcp.h>#include <arpa/inet.h>#include <fcntl.h>#include <errno.h>#include "rdesktop.h"Include dependency graph for tcp.cpp:

Go to the source code of this file.
Defines | |
| #define | INADDR_NONE ((unsigned long) -1) |
Functions | |
| STREAM | tcp_init (unsigned int maxlen) |
| void | tcp_send (STREAM s) |
| STREAM | tcp_recv (unsigned int length) |
| BOOL | tcp_connect (char *server) |
| void | tcp_disconnect (void) |
Variables | |
| static int | sock |
| static struct stream | in |
| static struct stream | out |
| int | tcp_port_rdp |
|
|
Definition at line 33 of file tcp.cpp. Referenced by tcp_connect(). |
|
|
Definition at line 124 of file tcp.cpp. References stream::data, error(), False, INADDR_NONE, NULL, stream::size, sock, tcp_port_rdp, True, and xmalloc(). Referenced by iso_connect(). |
|
|
Definition at line 178 of file tcp.cpp. References sock. Referenced by iso_connect(), and iso_disconnect(). |
|
|
Definition at line 43 of file tcp.cpp. References stream::data, stream::end, stream::p, stream::size, and xrealloc(). Referenced by iso_init(), and iso_send_msg(). |
|
|
Definition at line 82 of file tcp.cpp. References stream::data, stream::end, error(), NULL, stream::p, stream::size, sock, ui_select(), and xrealloc(). Referenced by iso_recv_msg(). |
|
|
Definition at line 58 of file tcp.cpp. References stream::data, stream::end, error(), and sock. Referenced by iso_send(), and iso_send_msg(). |
|
|
|
|
Definition at line 36 of file tcp.cpp. Referenced by main(), ScreenshotControl::performGrab(), tcp_connect(), tcp_disconnect(), LibMadPlugin::tcp_open(), tcp_recv(), tcp_send(), LibMadPlugin::udp_open(), and WellenreiterMainWindow::uploadSession(). |
|
|
Definition at line 56 of file rdesktop.cpp. Referenced by tcp_connect(). |
1.4.2