Telnet vs HTTP? (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: Example of loading a DLL
Next thread: Yielding time to other apps and windows


Re: Serializable ... kind of   -   Jan Erik Moström <
  Telnet vs HTTP?   -   Jann Linder
   Re: Telnet vs HTTP?   -   Kevin Ballard
    Re: Telnet vs HTTP?   -   Jann Linder
     Re: Telnet vs HTTP?   -   Kevin Ballard

Telnet vs HTTP?
Date: 06.05.02 20:21 (Mon, 06 May 2002 12:21:49 -0700)
From: Jann Linder
I am using 4.02 of RealBasic and attempting to get XML over HTTP using
Apache on the server side and httpSocket 2 on the MacOSX Client.

My question is this:
Apache gets the request, processes and sends the information to the client
which then just waits and waits and waits and THEN finally fires the
DLFinished event. I sometimes wait 30-90 seconds!

When I use the Telnet object to telnet to socket 80 and issue the same
request, the web server immedialely gives the data and then closes the
connection (less than 1 second).

Any idea why?

TIA
Jann



---
Subscribe to the digest:
<mailto:<email address removed>>
Unsubscribe:
<mailto:<email address removed>>

Re: Telnet vs HTTP?
Date: 06.05.02 20:24 (Mon, 06 May 2002 15:24:56 -0400)
From: Kevin Ballard
On 5/6/02 3:21 PM, "Jann Linder" <<email address removed>> wrote:

> I am using 4.02 of RealBasic and attempting to get XML over HTTP using
> Apache on the server side and httpSocket 2 on the MacOSX Client.
>
> My question is this:
> Apache gets the request, processes and sends the information to the client
> which then just waits and waits and waits and THEN finally fires the
> DLFinished event. I sometimes wait 30-90 seconds!
>
> When I use the Telnet object to telnet to socket 80 and issue the same
> request, the web server immedialely gives the data and then closes the
> connection (less than 1 second).
>
> Any idea why?

httpSocket may be waiting for the server to close the connection, and the
server isn't closing it. You might want to check that.

Re: Telnet vs HTTP?
Date: 06.05.02 20:32 (Mon, 06 May 2002 12:32:45 -0700)
From: Jann Linder
I checked that by using the telnet socket protocol. The server IMMEDIATELY
closes the connection. Thanks for the suggestion. Any other ideas anyone?
Grin

On 5/6/02 12:24 PM, "Kevin Ballard" <kevin@sb.org> wrote:

> On 5/6/02 3:21 PM, "Jann Linder" <<email address removed>> wrote:
>
>> I am using 4.02 of RealBasic and attempting to get XML over HTTP using
>> Apache on the server side and httpSocket 2 on the MacOSX Client.
>>
>> My question is this:
>> Apache gets the request, processes and sends the information to the client
>> which then just waits and waits and waits and THEN finally fires the
>> DLFinished event. I sometimes wait 30-90 seconds!
>>
>> When I use the Telnet object to telnet to socket 80 and issue the same
>> request, the web server immedialely gives the data and then closes the
>> connection (less than 1 second).
>>
>> Any idea why?
>
> httpSocket may be waiting for the server to close the connection, and the
> server isn't closing it. You might want to check that.


---
Subscribe to the digest:
<mailto:<email address removed>>
Unsubscribe:
<mailto:<email address removed>>

Re: Telnet vs HTTP?
Date: 06.05.02 20:36 (Mon, 06 May 2002 15:36:13 -0400)
From: Kevin Ballard
On 5/6/02 3:32 PM, "Jann Linder" <<email address removed>> wrote:

> I checked that by using the telnet socket protocol. The server IMMEDIATELY
> closes the connection. Thanks for the suggestion. Any other ideas anyone?
> Grin

But does the telnet socket send the exact same request that the httpSocket
does?