s/INVALID_SOCKET/-1/g