Problem in Multi line string (via Socket)
Jim Ault
jimaultwins at yahoo.com
Sun Apr 25 22:42:09 EDT 2010
Two methods could work
-- if using Rev cgi or irev you can get the smallest packets
write compress(line 1 to 2 of textBlock) to socket mSocket
-- if using Rev cgi or irev or other language
write base64encode(line 1 to 2 of textBlock) to socket mSocket
Hope this helps
On Apr 25, 2010, at 7:09 PM, Shani wrote:
> HI,
>
> open socket mSocket
>
> write "1 line " & return to socket mSocket -- this write on java
> Server
>
> read from socket mSocket until return
>
> put it into kResult
>
> write "2 line " & return to socket tSocket -- this not write to
> java
> server
>
> read from socket mSocket until return
>
> put it into lResult
>
> ........
>
> ........ -- when I comment first write then java read the other
> line form
> rev
>
> .
>
> . when I use multi line string to (connect java through Socket), it
> write
> first line to java but not write second and other lines.
>
> When I comment first line then java read second line and display the
> result
> against that one.
>
>
>
> How can I use multi line string (via socket )
>
Jim Ault
Las Vegas
More information about the use-livecode
mailing list