I\'m working on a multithreaded application in which one thread acts as a tcp server which receives commands from a client. The thread uses a Boost socket and acceptor to w
Simply call shutdown with native handle and the SHUT_RD option, to cancel the existing receive(accept) operation.