[Gambas-devel] Gambas Interface

Benoit Minisini gambas at ...1...
Tue Apr 27 20:01:14 CEST 2004


On Tuesday 27 April 2004 13:41, danielcampos at ...45... wrote:
> Hi Benoit:
>
>  While working in the 'net' component to adapt it to your requests, i've
> removed a lot of stuff thanks to the new GB_STREAM definition, with its
> "_free[]" space, so now I don't have to find the parent of the stream using
> an array. It reduces meory waste and makes it a little faster when reading
> or writing.
>
>  However, I still need an array to find the parent of a socket when I
> receive a read or write callback from Watching interface, as I only receive
> the socket descriptor in the 'long Param' parameter. 
> May be you could 
> modify these functions to add new information, or add a 'GB_WATCH2'
> function with more paramters to manage these data...

But why do you need the parent of the socket ?
I could add a GB.GetParent() API, but you should never need that.

>
> Regards,
>
> Daniel Campos
>

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the Devel mailing list