diff options
author | jsorg71 <jsorg71> | 2008-04-05 07:56:55 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2008-04-05 07:56:55 +0000 |
commit | 230bead7477205297caf9761a7cf6ee79c6fe702 (patch) | |
tree | 39a3c45b3a2c3fa65f77d24dbfd67e90ddc5bf9b /rdp | |
parent | 11c5d72c559a2e27885dbb804addef3102af35ed (diff) | |
download | xrdp-proprietary-230bead7477205297caf9761a7cf6ee79c6fe702.tar.gz xrdp-proprietary-230bead7477205297caf9761a7cf6ee79c6fe702.zip |
set socket options
Diffstat (limited to 'rdp')
-rw-r--r-- | rdp/rdp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -53,6 +53,8 @@ lib_mod_connect(struct mod* mod) if (rdp_rdp_connect(mod->rdp_layer, mod->ip, mod->port) == 0) { mod->sck = mod->rdp_layer->sec_layer->mcs_layer->iso_layer->tcp_layer->sck; + g_tcp_set_non_blocking(mod->sck); + g_tcp_set_no_delay(mod->sck); mod->sck_obj = g_create_wait_obj_from_socket(mod->sck, 0); DEBUG(("out lib_mod_connect")); return 0; |