This is the API documentation for socket: Ruby Standard Library Documentation.