tSocket is a local variable.
-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Mark Wieder
Sent: Monday, April 26, 2010 5:22 AM
To: How to use Revolution
Subject: Re: Problem in Multi line string (via Socket
: Monday, April 26, 2010 4:05 PM
To: 'How to use Revolution'
Subject: RE: Problem in Multi line string (via Socket)
tSocket is a local variable.
-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Mark Wieder
Sent: Monday
Shani-
Monday, April 26, 2010, 7:04:36 AM, you wrote:
tSocket is a local variable.
If you're writing things to mSocket and it works, and you're trying to
write to tSocket and it doesn't work, does that tell you something?
--
-Mark Wieder
mwie...@ahsoftware.net
Hi Shani,
What is the content of variables mSocket
and tSocket while you run the script?
Al
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Problem-in-Multi-line-string-via-Socket-tp2064665p2066229.html
Sent from the Revolution - User mailing list archive
HI,
open socket mSocket
write 1 linereturn to socket mSocket -- this write on java Server
read from socket mSocket until return
put it into kResult
write 2 linereturn to socket tSocket -- this not write to java
server
read from socket mSocket until return
put it into
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
Shani-
Sunday, April 25, 2010, 7:09:39 PM, you wrote:
write 2 linereturn to socket tSocket -- this not write to java
tSocket?
--
-Mark Wieder
mwie...@ahsoftware.net
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please
HI, 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 )
write 1 line
Shani,
write 1 line read cr 2 line read cr to socket tSocket
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
We have updated TwistAWord. Download TwistAWord 1.1 at