Public access to socket