realbasic-nug
[Top] [All Lists]

RE: Socket Taking Over. Need a Thread?

To: "'REALbasic NUG'" <realbasic-nug at lists dot realsoftware dot com>
Subject: RE: Socket Taking Over. Need a Thread?
From: "RBNUBE" <rbnube at mabenterprises dot com>
Date: Sun, 30 Dec 2007 15:53:21 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Importance: Normal
Keywords: RB-NUG
Organization: N/A
Thread-index: AchLCfNf0MoogwSPTEqrYNcBRLI45wAGuC0g
> The socket is a subclassed TCPSocket that is handling
> incoming requests from a browser.  It is during a large
> incoming request (i.e. a large file upload from an HTML
> form) that the app becomes unresponsive while the socket
> is receiving the large amount of data.

Have you tried, if possible, using an HTTPSocket?  I had forgotten about the
Yield property.  I actually use this weekly in an application I wrote for
work.  There is a difference in that it is simply downloading a 10-20 Meg.
Zip file, but in my case, it *does* work.  I now remember having the same
sort of issues you are having, but with the HTTPSocket class.


> I don't see any .Yields anything for a TCPSocket.

There isn't.  It is in HTTPSocket.

HTTPSocketA.Yield = True






_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>