added bsock status codes