[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-03-24 (21:43) |
From: | Rong.Zhou@p... |
Subject: | Socket question |
Hi, Can anyone tell me if there is a way in OCaml to *reliably* force a TCP socket to send out its buffered messages? I noticed that flushing the corresponding output channel of the socket does not *necessarily* cause the message to be sent. I know in C/C++ one can use the "TCP_NODELAY" socket option to solve this problem, but I couldn't find anything in OCaml that does this. I'd appreciate if someone can give me some pointers. Thanks, Rong