Hi all,
I'm trying to handle disconnections transparently on SocketStream. I
thought something like this:
void send(ubyte[] buffer) in { assert(buffer.length 0); }
body {
if (!stream.isAlive) connect();
auto sent = stream.write(buffer);
if (sent == 0)
throw new
My english is bugged, I mean handle reconnections transparently. Sorry.
Pedro Lacerda
2012/3/7 Pedro Lacerda pslace...@gmail.com
Hi all,
I'm trying to handle disconnections transparently on SocketStream. I
thought something like this:
void send(ubyte[] buffer) in { assert(buffer.length
On Wed, 07 Mar 2012 17:29:25 -, Pedro Lacerda pslace...@gmail.com
wrote:
2012/3/7 Pedro Lacerda pslace...@gmail.com
Hi all,
I'm trying to handle disconnections transparently on SocketStream. I
thought something like this:
void send(ubyte[] buffer) in { assert(buffer.length 0); }
body {