Am 2014-11-06 22:30, schrieb Jim Davis: > On Thu, Nov 6, 2014 at 2:07 PM, Grzegorz Dwornicki <gd1100@xxxxxxxxx> > 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? Additionally you can use the Kernel's ftrace[0] functionality to figure out which functions are being called in the kernel (instead of getting only the system calls returned like with strace). [0] https://www.kernel.org/doc/Documentation/trace/ftrace.txt _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies