On 10.02.2010 14:41, daoryn wrote:
>>
>> The buffer you are passing to receive is 0 bytes long. The
>> std.socket.Socket.receive function is a wrapper over the normal socket
>> function, and includes a test for an empty buffer.
>>
>> Daniel
>
> Ohh, I see. Thank you!
>
> I thought that the fun
>
> The buffer you are passing to receive is 0 bytes long. The
> std.socket.Socket.receive function is a wrapper over the normal socket
> function, and includes a test for an empty buffer.
>
> Daniel
Ohh, I see. Thank you!
I thought that the function would resize the buffer accordingly. Than
Gythzel Wrote:
> (relating code at http://dpaste.com/156595/ on D2)
>
> This is a very trimmed version of something I'm experimenting with, so the
> design of the code is not the issue. The problem is what happens on the
> "accepter" function.
>
> After the Socket.select returns 1 (meaning, 1
(relating code at http://dpaste.com/156595/ on D2)
This is a very trimmed version of something I'm experimenting with, so the
design of the code is not the issue. The problem is what happens on the
"accepter" function.
After the Socket.select returns 1 (meaning, 1 socket has its state changed)