[openbeosnetteam] Re: Select code...
- From: "David Reid" <dreid@xxxxxxxxxxxx>
- To: <openbeosnetteam@xxxxxxxxxxxxx>
- Date: Wed, 27 Mar 2002 21:52:20 -0000
WooHoo!!!! Excellent Philippe!
socket 3: read bit write bit except bit
net_socket_select!
event = 1
ref = 16777219
sync = 0x02672094
net_socket_select!
event = 2
ref = 33554435
sync = 0x02672094
net_socket_select!
event = 3
ref = 50331651
sync = 0x02672094
:)
Now, just need to get the rest of the hooks into the net stack written and
figure out what return values we should be passing... Simple really!
Any ideas Philippe?
david
----- Original Message -----
From: "Philippe Houdoin" <philippe.houdoin@xxxxxxx>
To: <openbeosnetteam@xxxxxxxxxxxxx>
Sent: Wednesday, March 27, 2002 6:13 PM
Subject: [openbeosnetteam] Re: Select code...
> Dadiv wrote:
> > Any idea why the select hooks don't work?
>
> Yes, I've got an new idea right now (finally) ;-)
> What about adding this next line to net_kit/source/driver/socket.c?
>
> _EXPORT int32 api_version = B_CUR_DRIVER_API_VERSION;
>
> Because, without any api_version symbol exported,
> I would guess that devfs assume the driver only support old BeOS
> drivers API, before R4: no [de]select and vread/vwrite hooks support
> expected.
>
> Again, I'm at office and can't test this idea myself, sorry about that.
>
> -Philippe, who'll cross fingers until you give feedback on this bug...
>
>
> --
> Fortune Cookie Says:
>
> Death is God's way of telling you not to be such a wise guy.
>
>
>
- References:
- [openbeosnetteam] Re: Select code...
- From: Philippe Houdoin
Other related posts:
- » [openbeosnetteam] Select code...
- » [openbeosnetteam] Re: Select code...
- » [openbeosnetteam] Re: Select code...
- » [openbeosnetteam] Re: Select code...
- » [openbeosnetteam] Re: Select code...
- » [openbeosnetteam] Re: Select code...
- » [openbeosnetteam] Re: Select code...
- » [openbeosnetteam] Re: Select code...
- » [openbeosnetteam] Re: Select code...
- » [openbeosnetteam] Re: Select code...
- » [openbeosnetteam] Select code...
- [openbeosnetteam] Re: Select code...
- From: Philippe Houdoin