From: <Rong.Zhou@parc.com>
To: <caml-list@yquem.inria.fr>
Subject: Socket question
Date: Fri, 24 Mar 2006 13:42:31 PST [thread overview]
Message-ID: <D5C8C04904809F45BEB9F23C05F60E752A162C@MOONRAKER.ad.parc.com> (raw)
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
next reply other threads:[~2006-03-24 21:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-24 21:42 Rong.Zhou [this message]
2006-03-26 11:00 ` Vincenzo Ciancia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D5C8C04904809F45BEB9F23C05F60E752A162C@MOONRAKER.ad.parc.com \
--to=rong.zhou@parc.com \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox