[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Proper socket shutdown.



On Wed, Nov 3, 2010 at 8:45 PM, Kelly Brock <Kerby@xxxxxxxxxxx> wrote:
> Hi again,
>
>>       So, I've managed to poke around just a little since sending the
>> example code and not really found anything interesting as of yet but had
>> an
>> evil thought.  I started wondering about the "shutdown" function being
>> unreliable with IOCP from your information.  I can't say for sure but I
>> started thinking about it and have a guess as to the problem which I will
>> be
>>
>>       This certainly seems like an evil stupid thing IOCP could be doing
>> here. :(
>
>        Nope, wasn't this.  Can't even get EOF using the WSASendDisconnect
> calls, something is definitely wrong at a lower level.  Will dig into it
> more as I find time.

Were you able to try DisconnectEx, or is that our next best bet?

-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.