Added an interface for socket.