On Thu, Nov 6, 2014 at 2:07 PM, Grzegorz Dwornicki <gd1100 at gmail.com> wrote: > To do this I'm using ctrl+c on host 2. What functions are > called to clean broken socket on host 1? What functions are called to > clean up socket on host 2? Have you tried running strace on the nc processes?