Post 2 made on Sunday March 22, 2009 at 20:17 |
bodshal Long Time Member |
Joined: Posts: | January 2009 16 |
|
|
Perhaps paste in the code you try to use for the async Socket?
FWIW, you don't *have* to do everything once the connection closes. This is merely a useful convention for the likes of HTTP which is (most often) a one-transaction-per-connection protocol.
You can (and sometimes have to) do your processing in the data-arrived callback - though you cannot guarantee that all the data you need to work on will arrive in a single invocation of the callback, of course.
Chris.
|
|
|