summaryrefslogtreecommitdiffstats
path: root/rdp
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2008-04-05 07:56:55 +0000
committerjsorg71 <jsorg71>2008-04-05 07:56:55 +0000
commit230bead7477205297caf9761a7cf6ee79c6fe702 (patch)
tree39a3c45b3a2c3fa65f77d24dbfd67e90ddc5bf9b /rdp
parent11c5d72c559a2e27885dbb804addef3102af35ed (diff)
downloadxrdp-proprietary-230bead7477205297caf9761a7cf6ee79c6fe702.tar.gz
xrdp-proprietary-230bead7477205297caf9761a7cf6ee79c6fe702.zip
set socket options
Diffstat (limited to 'rdp')
-rw-r--r--rdp/rdp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rdp/rdp.c b/rdp/rdp.c
index b7a279b7..b3caa51a 100644
--- a/rdp/rdp.c
+++ b/rdp/rdp.c
@@ -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;