Re: tcpconnect/tcpsend problem ...

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58232
interpreted = N
texte = Hi John, That did it, thanks! The other two domains are multihomed as well (or at least I think they are, they use shared ip addresses) but they worked without specifying the host in the tcpsend. Apparently the other two got the host from the tcpconnect but the third did not. I'll use this new method in all my tcpconnect/tcpsend contexts from now on. Thanks again ... :) Kenneth Grome WebDNA Programmer Outsource Service Provider Phone: +6332 255-6591 >Kenneth Grome wrote: > >>[text]status=[middle >>startafter=987654321&endbefore=123456789][tcpsend]GET >>/tcplogger.html >>HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/middle][/text] >> > >[tcpconnect] is not a browser (it's more like a telnet session), >hence it doesn't send the appropriate HTTP header information when >connecting. In particular, a multihosted web server must have the >HOST header in order to know what virtual site to serve up. > >Try this: > >[text]CRLF=[unurl]%0D%0A[/unurl][/text] > >[text]status=[middle >startafter=987654321&endbefore=123456789][tcpsend]GET >/tcplogger.html HTTP/1.0[CRLF]Host: >incebu.com[CRLF][CRLF][/tcpsend][/middle][/text] > >HTH > >John > >-- >John Peacock >Director of Information Research and Technology >Rowman & Littlefield Publishing Group >4501 Forbes Boulevard >Suite H >Lanham, MD 20706 >301-459-3366 x.5010 >fax 301-429-5748 > >------------------------------------------------------------- >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://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: tcpconnect/tcpsend problem ... ( Kenneth Grome 2004)
  2. Re: tcpconnect/tcpsend problem ... ( Christer Olsson 2004)
  3. Re: tcpconnect/tcpsend problem ... ( devaulw@onebox.com 2004)
  4. Re: tcpconnect/tcpsend problem ... ( John Peacock 2004)
  5. tcpconnect/tcpsend problem ... ( Kenneth Grome 2004)
Hi John, That did it, thanks! The other two domains are multihomed as well (or at least I think they are, they use shared ip addresses) but they worked without specifying the host in the tcpsend. Apparently the other two got the host from the tcpconnect but the third did not. I'll use this new method in all my tcpconnect/tcpsend contexts from now on. Thanks again ... :) Kenneth Grome WebDNA Programmer Outsource Service Provider Phone: +6332 255-6591 >Kenneth Grome wrote: > >>[text]status=[middle >>startafter=987654321&endbefore=123456789][tcpsend]GET >>/tcplogger.html >>HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/middle][/text] >> > >[tcpconnect] is not a browser (it's more like a telnet session), >hence it doesn't send the appropriate HTTP header information when >connecting. In particular, a multihosted web server must have the >HOST header in order to know what virtual site to serve up. > >Try this: > >[text]CRLF=[unurl]%0D%0A[/unurl][/text] > >[text]status=[middle >startafter=987654321&endbefore=123456789][tcpsend]GET >/tcplogger.html HTTP/1.0[CRLF]Host: >incebu.com[CRLF][CRLF][/tcpsend][/middle][/text] > >HTH > >John > >-- >John Peacock >Director of Information Research and Technology >Rowman & Littlefield Publishing Group >4501 Forbes Boulevard >Suite H >Lanham, MD 20706 >301-459-3366 x.5010 >fax 301-429-5748 > >------------------------------------------------------------- >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://webdna.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://webdna.smithmicro.com/ 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:

Variable prices and Formulas.db (1997) My new discussion forum (2003) [cart] clarification... (1997) Re:Searching for ALL / empty form field *the FINAL answer* (1997) [WebDNA] XML Parsing Error Help (2010) Dreamweaver MX (again) (2002) apostrophe in search item (1997) http://www.smithmicro.com/WebDNAReference/ current? (2000) no serial? (1998) Trigger alternatives please ... (2004) Search returns all, not 20 (1997) [WebDNA] Digest from talk@webdna.us (2018) splitting numbers in webDNA? (1997) WebCat2.0 acgi vs plugin (1997) Fun with dates (1997) incrementing a counter remotely? (1999) [listfiles] nested in a [loop] (1998) Browser Problem?!? Still getting Error message using POST! (1997) Autoreturn Submit? (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997)