As part of a web server, a TCPSocket implements the DataAvailable event.
In general this works fine.
From time to time, The DataAvailable event doesn't fire. If I add this
While( 0 < Me.BytesAvailable() )
<process once again>
Wend
to the DataAvailabe handler, things work just fine.
Thus, these questions come to mind:
- When does DataAvailable really fires?
- If new data arrives while DataAvailable is currently executing, can it
overrun another DataAvailable event or will - when the current
DataAvailable
event finishes - another DataAvailble fire?
This problem seems to appear only iff. the system processes POST content
of a web page.
System: RB 5.5.5 on OS X. TCPSocket managed by a ServerSocket.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|