[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cancel read on socket



Leon Pollak <leonp at plris.com> writes:
> Hello, all.
>
> Is there any way to cancel currently waiting read operation on UDP
> socket?

shutdown()

BTW, you should *never* close() socket asynchronously.

-- Sergei.