Drstein99
Junior Contributor
Regarding sockets;
Sometimes my .endread command will return 0 bytes. Its being executed in a async callback function from:
.beginread(readBuffer, 0, READ_BUFFER_SIZE, AddressOf Me.StreamReceiver, strMessage)
------------------
Why does the command execute, and when I conduct my .endread function returns 0 bytes?
Is it issueing a time-out, or keep-alive die? How can I figure out the NATURE of WHY that function was called (as a result of the .beginread) - because when it tells me 0 btyes are available to read from the stream; i'm under the impression its trying to send a message other then "data available" - as a matter of fact i am sure of it, because the remote / socket application on the client test pc shows that it hasnt sent any information or data.
----------------------------
DrStein99
Sometimes my .endread command will return 0 bytes. Its being executed in a async callback function from:
.beginread(readBuffer, 0, READ_BUFFER_SIZE, AddressOf Me.StreamReceiver, strMessage)
------------------
Why does the command execute, and when I conduct my .endread function returns 0 bytes?
Is it issueing a time-out, or keep-alive die? How can I figure out the NATURE of WHY that function was called (as a result of the .beginread) - because when it tells me 0 btyes are available to read from the stream; i'm under the impression its trying to send a message other then "data available" - as a matter of fact i am sure of it, because the remote / socket application on the client test pc shows that it hasnt sent any information or data.
----------------------------
DrStein99