[Gambas-devel] gb.net updated
Benoit Minisini
gambas at ...1...
Tue Dec 13 13:43:06 CET 2005
On Tuesday 13 December 2005 13:30, Daniel Campos wrote:
> Hi:
>
> New version of gb.net component. It adds an "id" or "handle" property to
> the ServerSocket, Socket and UdpSocket classes which gives access to
> internal socket descriptor.
But you already inherited it from the Stream class. You don't have to
overwrite it; you have to return it from the "handle" function of the stream
implementation.
For example, in the Socket class implementation, you just have to return it
from your CSocket_stream_handle() function instead of always returning zero.
Regards,
--
Benoit Minisini
More information about the Devel
mailing list