Hi Thomas, Try the following.
First assign you transaction string that you want to pass to the listening service, like so: <@ASSIGN local$MyString value="Some transaction text with spaces & funny characters, eh."> Then use the @URL Metatag to call your listening service, like so: <@ASSIGN local$TheResponse value='<@URL LOCATION="http://123.345.678.901:8080/somefilename-notrequired.ext?string=<@ VAR local$MyString encoding=url>">'> The variable <@VAR local$TheResponse> will contain whatever response string the listening service sent back to you. The one factor that may affect the final results is how the 'listening' service is expecting to receive your string. The above is passing it as a URL Search Argument, where the argument name is called 'string'. The <@URL> Metatag also supports Post arguments (SP1), but is handled slightly differently. Hope this helps. Cheers... Scott Cadillac http://xml-extra.net [EMAIL PROTECTED] ----- Original Message ----- From: "Thomas Cimicato" <[EMAIL PROTECTED]> To: "R:Base List Serve" <[EMAIL PROTECTED]> Sent: Monday, May 06, 2002 3:29 PM Subject: Routing to a IP in Tango > I hope I can articulate this question properly... > > From a R:Tango application, I need to send a text string to a particular > IP and port (on the same machine actually) where there is a program > "listening" on that port for this transaction string. My R:Tango > application then needs to wait on a short response string back from that > program. I will display a page based on that response string. > > The question is how do I possibly accomplish this. Do I need to create a > cgi program or executable to do this? Can Tango simply send a string to a > particular ip:port and wait on the response? > > Regards, > > Thom Cimicato > > ================================================ > TO SEE MESSAGE POSTING GUIDELINES: > Send a plain text email to [EMAIL PROTECTED] > In the message body, put just two words: INTRO rbase-l > ================================================ > TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] > In the message body, put just two words: UNSUBSCRIBE rbase-l > ================================================ > TO SEARCH ARCHIVES: > http://www.mail-archive.com/rbase-l%40sonetmail.com/ > ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: INTRO rbase-l ================================================ TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: UNSUBSCRIBE rbase-l ================================================ TO SEARCH ARCHIVES: http://www.mail-archive.com/rbase-l%40sonetmail.com/
