curl-library
Re: How to enable non blocking mode in curl
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 6 Oct 2008 15:24:47 +0200 (CEST)
Date: Mon, 6 Oct 2008 15:24:47 +0200 (CEST)
On Mon, 6 Oct 2008, Ajeet kumar.S wrote:
> Thank you all for your supports. I am trying to connect to streaming
> server through openssl. I saw we are not able to receive application data
> packet in one platform and different platform I saw we are not able to
> receive first packet of application data(ssl) other application data it is
> receiving. So I thing that is due to curl is by default working on blocking
> mode.
How on earth did you come to that conclusion?
> Let me know how to enable nonblocking mode in curl and avoid loosing
> application data.
Edit the source code and recompile. There is no API way of doing that since it
makes no sense to apps! It doesn't loose data by being non-blocking.
-- / daniel.haxx.seReceived on 2008-10-06