Belka ha scritto:
Thanks, Manlio!
What system?
ArchLinux (2.6.27)
Is the timeout the same with a plain C program?
Didn't try yet... ^__^
I know that controlling timeout is somehow connected to select(2)
Yes.
The only working method is to set the socket to non blocking mode, and
use
Thanks, Manlio!
What system?
ArchLinux (2.6.27)
Is the timeout the same with a plain C program?
Didn't try yet... ^__^
I know that controlling timeout is somehow connected to select(2)
Yes.
The only working method is to set the socket to non blocking mode, and
use select (or
Thanks, Manlio!
What system?
A r c h Linux (2.6.27)
Is the timeout the same with a plain C program?
Didn't try yet... ^__^
I know that controlling timeout is somehow connected to select(2)
Yes.
The only working method is to set the socket to non blocking mode, and
use select (or
It's hard to belive, that nobody ever tackled/solved the subj. problem. I
still can delay a bit solving it, in hope somebody would share experience.
Regards,
Belka
Belka wrote:
Hello, communion people!
I have a problem and ask for an advice.
I'm dealing with sockets on *Linux*
Belka ha scritto:
Hello, communion people!
I have a problem and ask for an advice.
I'm dealing with sockets on *Linux* platform (Network.Socket). The problem
is that I can't fully control timeout for (connect :: Socket - SockAddr -
IO ()) operation.
On my system the timeout is - 3 seconds -
Hello, communion people!
I have a problem and ask for an advice.
I'm dealing with sockets on *Linux* platform (Network.Socket). The problem
is that I can't fully control timeout for (connect :: Socket - SockAddr -
IO ()) operation.
On my system the timeout is - 3 seconds - I want to be able to