caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Socket question
@ 2006-03-24 21:42 Rong.Zhou
  2006-03-26 11:00 ` Vincenzo Ciancia
  0 siblings, 1 reply; 2+ messages in thread
From: Rong.Zhou @ 2006-03-24 21:42 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-26 10:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-24 21:42 Socket question Rong.Zhou
2006-03-26 11:00 ` Vincenzo Ciancia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).