cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: win32 autobuilds

From: codemastr <codemstr_at_ptd.net>
Date: Tue, 9 Mar 2004 17:24:26 -0500

> Here, sockfd is an int. If the windows code returns an unsigned int. Does
it
> return 0xffffffff when it fails?

According to the MS docs, you are supposed to compare it against the
INVALID_SOCKET constant.

Dominick Meglio.
Received on 2004-03-09