Re: [gnet] socket error: 2



Sorry for the delay - just got back from vacation.

Look at tcp.h for the status number.  2 is a TCP error, probably meaning
it couldn't connect (as opposed to a DNS lookup failure).

I don't have Windows, so I can't test this.  Andy maintains the Win32
port.  I know he's made some fixes in CVS HEAD.  Maybe I should make a
new release soon(?).  I'd recommend trying HEAD.  Let us know if that
solves the problem.

David

On Fri, 2004-01-02 at 05:42, Hubert Sokołowski wrote:
> 
> we update to glib-2.2.3 from
> http://www.gimp.org/~tml/gimp/win32/downloads.html
> 
> but still errors:
> 
> C:\win32dev\gnet\examples>echoclient-async.exe 127.0.0.1 9999
> Error: Could not connect (status = 2)
> 
> with echoclient-sync.exe is ok
> 
> server is running
> 
> C:\win32dev\gnet\examples>echoserver-async.exe 9999
> Async echoserver running on 0.0.0.0:9999
> 
> 
> please help us
> hs
> _______________________________________________
> gnet mailing list
> gnet lists gnetlibrary org
> http://lists.gizmolabs.org/mailman/listinfo/gnet
-- 
David Helder - dhelder gizmolabs org - http://www.gizmolabs.org/~dhelder




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]