On Wed, Aug 4, 2010 at 7:48 PM, Oliver Smith <oliver at kfs.org> wrote: > But the only way to close a socket in C++ seems to be to destroy the > socket_t? Yes, there is no way to disconnect, and if you simply make a second connection you will have two active at the same time. -Pieter