Read From Socket Question

Pierre Sahores sc at sahores-conseil.com
Fri Nov 18 16:22:52 EST 2011


Should this production ready old example help ?

http://www.sahores-conseil.com/insead/page5_en.html

Best,

Le 18 nov. 2011 à 19:17, Warren Kuhl a écrit :

> I am trying to retrieve data from a socket.
> 
> When I try:
> 
> read from socket myDevSock for xxxx characters
> put it into tData
> ...I get data
> 
> read from socket myDevSock until crlf
> put it into tData
> ...I get data
> 
> read from socket myDecSock until eof
> put it into tData
> ...no data
> 
> Wouldn't the read until eof pull in all data that is passed back?
> 
> Thanks for any help!
> Warren
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com







More information about the Use-livecode mailing list