[Gambas-user] gambas 0.81

daniel danielcampos at ...277...
Sun Jan 18 12:15:30 CET 2004


El dom, 18-01-2004 a las 09:31, Olivier Coquet escribió:
> compile and work fine on Fedora core 1 kernel 2.4-22.1-2140
> 
> but........how i can write on an established tcp connection????? there is no 
> write methode???
> 
> 

Look at documentation and ClientSocket example: socket classes inherits
from ".Stream" so you can read and write using Gambas methods:

Dim MySocket As Socket
....

READ #MySocket,Buffer,Lof(MySocket)

or

WRITE #MySocket,Buffer,Len(Buffer)
...
CLOSE #MySocket

As if you were working with normal files!


Regards,

Daniel Campos 

> regards
> Olivier
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list