54 |
int g_tcp_port_rdp = TCP_PORT_RDP; |
int g_tcp_port_rdp = TCP_PORT_RDP; |
55 |
|
|
56 |
/* wait till socket is ready to write or timeout */ |
/* wait till socket is ready to write or timeout */ |
57 |
static BOOL |
static RD_BOOL |
58 |
tcp_can_send(int sck, int millis) |
tcp_can_send(int sck, int millis) |
59 |
{ |
{ |
60 |
fd_set wfds; |
fd_set wfds; |
199 |
} |
} |
200 |
|
|
201 |
/* Establish a connection on the TCP layer */ |
/* Establish a connection on the TCP layer */ |
202 |
BOOL |
RD_BOOL |
203 |
tcp_connect(char *server) |
tcp_connect(char *server) |
204 |
{ |
{ |
205 |
socklen_t option_len; |
socklen_t option_len; |