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

  • From: Philippe Houdoin <philippe.houdoin@xxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Thu, 7 Oct 2004 00:21:58 +0200

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. ;)

According to Mozilla NSPR code, it wait (thru select()) the socket become
writable. If it never, it return -1 without any more detailed errno set:

http://lxr.mozilla.org/nspr/source/nsprpub/pr/src/md/beos/bnet.c#637

Maybe we don't notify a socket is writable when connection is establish.
I can't investigate more tonight, and I'll spend the next two days away from
computer, so don't expect progress on this issue from me before the week-end.

- Philippe

Other related posts: