[Gambas-devel] networking 0.0.4

Daniel Campos danielcampos at ...45...
Wed Sep 3 21:40:21 CEST 2003


Hi!

 Looking for a socket server? Here you have one!

 Well... the first step of it, but it works OK
in what he can do (listen for TCP connections,
accept multiple connections...)

 I hope to have it stabilished at the end of this
week.

 Basically, it returns a new ClientSocket object for
each connection accepted, so this ServerSocket class
is very simple, only a port and listening tasks, nothing
about communication with the client, wich is a work
for ClientSocket.

 Into folder DOC there's now:

G1 --> a ClientSocket sample
G2 --> a ServerSocket sample
HTML   documentation (preliminary)
README help to compile this component

(*) be careful if you are not "root" when using G2, as you will
be not able to used reserved ports 1-1024, and after using Stop()
you there will be some time in wich you can not use the same port
for listen again... Linux things

(**) Idea : You can use some telnet connections or G1 project
to test G2

Regards,
-- 
Daniel Campos <danielcampos at ...45...>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: net_0_0_4.tar.gz
Type: application/x-compressed-tar
Size: 19883 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20030903/ad77c30d/attachment.bin>


More information about the Devel mailing list