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
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution