[openbeosnetteam] Re: [Update] recent fixes, TODOs

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Wed, 06 Oct 2004 22:52:28 +0200 CEST

Waldemar Kornewald <Waldemar.Kornewald@xxxxxx> wrote:
> Uhm, when I debugged Mozilla I think connect() returned -1. Do our 
> error 
> codes have the same value as in BONE?
> Anyway, we can easily fix this with a new port. ;)

All older POSIX functions return -1 on error and set errno as needed - 
connect() is no exception here.
http://www.opengroup.org/onlinepubs/009695399/functions/connect.html

Bye,
   Axel.


Other related posts: