realbasic-nug
[Top] [All Lists]

Re: Error 64 on TCPSocket?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Error 64 on TCPSocket?
From: Charles Yeomans <charles at declareSub dot com>
Date: Fri, 30 Nov 2007 18:31:58 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <87517211-63E0-47F9-8760-F1424686BD96 at mac dot com>
On Nov 30, 2007, at 6:26 PM, Arnaud Nicolet wrote:

> Hi,
>
> I have an application which downloads urls from Internet.
> I installed a trial version of "Little Snitch", which monitors network
> traffic (when an application wants to connect to the network, it asks
> for allowing or preventing).
>
> So I tried to prevent my own app to connect and download (I clicked
> "Deny" in "Little Snitch") and the returned error code of the socket
> is 64... The documentation says errors out of the range 100-106 are
> kept unchanged and Mac Open Transport errors are negative (which
> indeed suits the Mac behaviour where positive errors are the ones
> which make an application crashing and negative are recoverable ones).
>
> So, it seems wrong to have a 64 error code. Any idea what it means?
>

Any reference to Open Transport in the Rb documentation is way out of  
date, I hope.  You should file a feedback request to correct the  
documentation.

The error list you're looking for can be found at /usr/include/sys/ 
errno.h .

#define EHOSTDOWN       64              /* Host is down */


Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>