Added USOCK_NUMERIC to the usock calls - there is no point in specifying bind address as a name.