Re: Does TCPconnect/TCPsend do multiples?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28348
interpreted = N
texte = >Funny looking subject line I know... What I need to do is connect via >telnet to a server and do a little transaction. It is not as simple >as getting a single response the way a TCPconnect would normally do. >So I want to know if I can use multiple tcpsends within the >tcpconnect context getting and evaluating responses all along. > > >in other words in pseudo code, something like this: > > [tcpconnect....] > > [text]response=[tcpsend]some info[/tcpsend][/text] > > [showif [response]=good] > [text]response2=[tcpsend]some other info[/tcpsend][/text] > [showif [response2]=good] > Transaction complete! > [/showif] > [/showif] > >[/tcpconnect] > >Can something like this be done? If not... anyone have any ideas?Yes it should be possible, assuming the code inside a tcpconnect is interpreted in sequence like it is everyshere else ...================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Does TCPconnect/TCPsend do multiples? (Kenneth Grome 2000)
  2. Re: Does TCPconnect/TCPsend do multiples? (Peter Ostry 2000)
  3. Re: Does TCPconnect/TCPsend do multiples? (Kenneth Grome 2000)
  4. Does TCPconnect/TCPsend do multiples? (Joseph D'Andrea 2000)
>Funny looking subject line I know... What I need to do is connect via >telnet to a server and do a little transaction. It is not as simple >as getting a single response the way a TCPconnect would normally do. >So I want to know if I can use multiple tcpsends within the >tcpconnect context getting and evaluating responses all along. > > >in other words in pseudo code, something like this: > > [tcpconnect....] > > [text]response=[tcpsend]some info[/tcpsend][/text] > > [showif [response]=good] > [text]response2=[tcpsend]some other info[/tcpsend][/text] > [showif [response2]=good] > Transaction complete! > [/showif] > [/showif] > >[/tcpconnect] > >Can something like this be done? If not... anyone have any ideas?Yes it should be possible, assuming the code inside a tcpconnect is interpreted in sequence like it is everyshere else ...================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

tcpconnect/tcpsend frustrations (2002) Interactive Online Docs Was: [OT] Mozilla | Was: R.I.P. (2003) WebCat2 several catalogs? (1997) [OT] RSS Feeds (2007) Emailer not working (1998) Replacing a variable within a variable. (1998) Multiple servers and Webcat (1998) Cancel Subscription (1996) Pricing based on quantity (2000) Assigning new CART number (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) MasterCounter and capitalization (1997) WebDNA for Dummies (2004) WebSite vs. IIS (1997) Weird problems with [SHOWIF]s (1997) [delete] problem (1997) WebCatalog stalls (1998) ssl and invoic.tpl and back bttn (2002) RE:It just Does't add up!!! (1997) FEW QUESTIONS (1997)