* timer again
@ 2005-02-07 11:00 Anastasia Gornostaeva
2005-02-07 15:47 ` [Caml-list] " Florian Hars
0 siblings, 1 reply; 2+ messages in thread
From: Anastasia Gornostaeva @ 2005-02-07 11:00 UTC (permalink / raw)
To: caml-list
Hello.
How I can handle network connections manually?
When in a programm is used timer.ml with default tick unit = 100 milliseconds
(pllab.kaist.ac.kr/%7Eshoh/ocaml/libs/timer/), it is not possible to open
connections to some servers using Unix.open_connection -- the program
always get EINTR.
Platform idepedent (noticed on freebsd and linux debian).
ermine
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] timer again
2005-02-07 11:00 timer again Anastasia Gornostaeva
@ 2005-02-07 15:47 ` Florian Hars
0 siblings, 0 replies; 2+ messages in thread
From: Florian Hars @ 2005-02-07 15:47 UTC (permalink / raw)
To: Anastasia Gornostaeva; +Cc: caml-list
Anastasia Gornostaeva wrote:
> When in a programm is used timer.ml [...], it is not possible to open
> connections to some servers using Unix.open_connection -- the program
> always get EINTR.
> Platform idepedent (noticed on freebsd and linux debian).
Of course it is platform independent, this is the POSIX mandated behaviour of
connect. See the man pages for connect, select, poll.
This is not generally considered the brightest part of the POSIX spec:
http://www.eleves.ens.fr:8080/home/madore/computers/connect-intr.html
Yours, Florian.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-07 15:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-07 11:00 timer again Anastasia Gornostaeva
2005-02-07 15:47 ` [Caml-list] " Florian Hars
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox