2.6.7. Diagnosing socket binding problems

Diagnosing socket binding problems is easy when the return code of the bind() call is available. The typical return codes are:

Most of the times, the bind() return code is not available. In that case, the TDIMon [10] tool can be used:

1	0.00000000	my_netcat.exe:65	819D38B8	IRP_MJ_CREATE	TCP:		SHARING_VIOLATION	Address Open