Re: tcpconnect/tcpsend frustrations

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41429
interpreted = N
texte = What I'm ultimately trynig to do is to send some data via POST to a servlet on this other server that will return some XML that I can use to populate the page on the server making the connection. Unfortunately, I've been unable to get very far as I cannot even get a simple GET request to return a response. I've had no problem with GET or POST on our other Linux servers, but this Windows 2000 server won't cooperate with the same code.I tried yours, but no luck. I'm sure that was one of the 20,000 variations I've tried in the last few days. You know, I thought about offering up ice cream as a reward, but I was afraid I'd set a precedent I couldn't keep up with. Maybe... -----Original Message----- From: Jesse Williams-Proudman [mailto:j.list@ninewire.com] Sent: Thursday, July 11, 2002 11:55 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations On 7/11/02 7:50 AM, ScottR@benjerry.com wrote:> I have been able to use tcp send successfully with one of our servers but I > am having trouble getting at another using the same format. I see all sorts > of formats out there for line breaks, such as using
 tags, or> [UnURL]%0D%0A[/UnURL] or just [UnURL]%0A[/UnURL], or 
 tags and> [UnURL]%0D%0A[/UnURL] . It seems to be all over the board and noone is> referencing what OS the particular format applies to. Also, is this> dependent on the OS of the machine on which the WebCat script is runningor> the machine being connected to? I've spent three days trying everypossible> way to get this to work and I get nothing - the page just times out as ifit> can't connect. I've tried both a GET and a POST with no luck. If anyonecan> clear this up for me, I'd really appreciate it.Do I get free ice cream if I solve it? ;)I've always used [UnURL]%0D%0A[/UnURL].  I'm pretty sure it's not a platformdependant thing but rather just the standard type of linefeeds that awebserver expects.  I've posted tcpconnect code before... Let me dig it up:[text show=f]host=domain.com[/text][text show=f]page=index.html[/text][TCPConnect host=[domain]&port=80][tcpsend]GET /[page]HTTP/1.0[UnURL]%0D%0A[/UnURL]Host:[host][UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend][/tcpconnect]This seems to work well for me....If this doesn't work for you, could you maybe explain in a little more depthexactly what you are trying to do?Thanks--      Jesse Williams-Proudman || CEO  NineWire Digital Solutions || +1.888.873.6199          jesse@ninewire.com || http://ninewire.comMac Web Hosting & Colocation || Mac Nationwide Dialup   $75 Xserve Colocation Special from Your Mac ISP!-------------------------------------------------------------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 toWeb Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/





Associated Messages, from the most recent to the oldest:

    
  1. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  2. Re: tcpconnect/tcpsend frustrations (John Peacock 2002)
  3. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  4. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  5. Re: tcpconnect/tcpsend frustrations (Pedro Rivera 2002)
  6. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  7. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  8. Re: tcpconnect/tcpsend frustrations (Pedro Rivera 2002)
  9. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  10. Re: tcpconnect/tcpsend frustrations (John Peacock 2002)
  11. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  12. Re: tcpconnect/tcpsend frustrations (Pedro Rivera 2002)
  13. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  14. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  15. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  16. Re: tcpconnect/tcpsend frustrations (John Peacock 2002)
  17. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  18. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  19. tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
What I'm ultimately trynig to do is to send some data via POST to a servlet on this other server that will return some XML that I can use to populate the page on the server making the connection. Unfortunately, I've been unable to get very far as I cannot even get a simple GET request to return a response. I've had no problem with GET or POST on our other Linux servers, but this Windows 2000 server won't cooperate with the same code.I tried yours, but no luck. I'm sure that was one of the 20,000 variations I've tried in the last few days. You know, I thought about offering up ice cream as a reward, but I was afraid I'd set a precedent I couldn't keep up with. Maybe... -----Original Message----- From: Jesse Williams-Proudman [mailto:j.list@ninewire.com] Sent: Thursday, July 11, 2002 11:55 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations On 7/11/02 7:50 AM, ScottR@benjerry.com wrote:> I have been able to use tcp send successfully with one of our servers but I > am having trouble getting at another using the same format. I see all sorts > of formats out there for line breaks, such as using
 tags, or> [unurl]%0D%0A[/UnURL] or just [unurl]%0A[/UnURL], or 
 tags and> [unurl]%0D%0A[/UnURL] . It seems to be all over the board and noone is> referencing what OS the particular format applies to. Also, is this> dependent on the OS of the machine on which the WebCat script is runningor> the machine being connected to? I've spent three days trying everypossible> way to get this to work and I get nothing - the page just times out as ifit> can't connect. I've tried both a GET and a POST with no luck. If anyonecan> clear this up for me, I'd really appreciate it.Do I get free ice cream if I solve it? ;)I've always used [unurl]%0D%0A[/UnURL].  I'm pretty sure it's not a platformdependant thing but rather just the standard type of linefeeds that awebserver expects.  I've posted tcpconnect code before... Let me dig it up:[text show=f]host=domain.com[/text][text show=f]page=index.html[/text][TCPConnect host=[domain]&port=80][tcpsend]GET /[page]HTTP/1.0[unurl]%0D%0A[/UnURL]Host:[host][unurl]%0D%0A%0D%0A[/UnURL][/TCPSend][/tcpconnect]This seems to work well for me....If this doesn't work for you, could you maybe explain in a little more depthexactly what you are trying to do?Thanks--      Jesse Williams-Proudman || CEO  NineWire Digital Solutions || +1.888.873.6199          jesse@ninewire.com || http://ninewire.comMac Web Hosting & Colocation || Mac Nationwide Dialup   $75 Xserve Colocation Special from Your Mac ISP!-------------------------------------------------------------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 toWeb Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/



ScottR@benjerry.com

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:

Exclamation point (1997) month or year from date field in lineitems? (1998) Limit on nested [ShowIf]'s? (1997) problem (1998) Serving images from databases (1998) FTP FOLDER PERMISSIONS (2004) problems with 2 tags (1997) show all problem (1997) [cart] (1998) Calendar using WebCatalog? (1997) WebCat2 - [format thousands] (1997) setting taxable to true (1997) View Source from cache (1997) NT License trade for Mac (2000) WebCatalog for guestbook ? (1997) WebCat2 Append problem (B14Macacgi) (1997) NT Manual (1997) Shipping formula problem (1997) WCS Newbie question (1997) Getting Crazy (1998)