List Info

Thread: Re: Problem with URL fetch on Windows




Re: Problem with URL fetch on Windows
country flaguser name
United States
2007-03-23 03:42:21

James,

I have done a bit of debugging on the socket addon and may have found
the problem; I think it may be related to a platform specific
implementation detail mentioned on http://msdn2.microsoft.com/en-
us/library/ms737625.aspx regarding error codes. It seems connect
sometimes returns EINVALID when it really means WSAEALREADY.

However, to really produce a working patch (which I'd like to do), I
need to be able to compile the addon, and for that I need libevent.
Now I'd like to save myself the trouble of trying to compile that on
Windows, which seems to be all but unsupported; since you seem to be
the Io maintainer for Windows, I guess you have binaries for that.
Could you send those my way? If that's a possibility, please send to
clemens dot hofreither at gmx dot net.

Best regards,
Clemens

--- In iolanguage%40yahoogroups.com">iolanguageyahoogroups.com, James Burgess <jamesrburgess...>
wrote:
>
&gt; Clemens,
> I sorry to admit I don't test the addons much before I post
the
> binary. Your example does work for me though (XP Pro SP2). BTW
that's
> a bug at line 50 of A4_Socket.io, it should be return Socket errno
> not System errno, not that it would help you.
>;
> The binaries expect to be installed in c:/usr/local. If you
unpack
> it there you won't have to alter the search path.
&gt;
> I don't know how the ~/.iorc thing works.
&gt;
> - James.
&gt;
> On Mar 21, 2007, at 5:51 PM, clemens_hofreither wrote:
&gt;
> > Hello,
&gt; >
>; > I have just downloaded the latest Windows binaries, and when
trying to
> > use the fetch method on an URL object I get error messages like
these:
> >
>;

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )