Hi,
some points/ queries:
I assume that you do not initialize sockets in B4R as there is no socket.initialize.
I also assume that there is no Socket_Connected (Successful As Boolean) as that doesn't seem to trigger? (I'm using Socket.Connected to see if it safe to send, is that the correct approach?)
Astream_Error seems to trigger for each Astreams.Write. Is that correct? If not then what could cause it to do so? Without any debugging support I can't find the cause.
Thanks