caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] nonblock socket in Windows
@ 2011-08-31 10:55 Vu Ngoc San
  2011-08-31 11:05 ` Gerd Stolpmann
  0 siblings, 1 reply; 3+ messages in thread
From: Vu Ngoc San @ 2011-08-31 10:55 UTC (permalink / raw)
  To: OCaml List

Hello

I want to have non-blocking sockets for a UDP client/server.  I use
the Unix.set_nonblock which works fine in Linux, but the manual tells
me that in Windows (Win32):

"set_nonblock, clear_nonblock	implemented as dummy functions; use threads 
instead of non-blocking I/O"

I would like to avoid threads, and on the other hand there is the
ioctlsocket function in Windows which seems to do it. So why isn't
this implemented in ocaml ?

http://msdn.microsoft.com/en-us/library/ms738573


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

end of thread, other threads:[~2011-08-31 12:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-31 10:55 [Caml-list] nonblock socket in Windows Vu Ngoc San
2011-08-31 11:05 ` Gerd Stolpmann
2011-08-31 12:09   ` Vu Ngoc San

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).