0001-Fix-typo-in-Socket-docs.patch

David Albert, 10/04/2012 06:55 AM

Download (800 Bytes)

View differences:

ext/socket/socket.c
1881 1881
     * sockets of these types compared to C programming.
1882 1882
     *
1883 1883
     *   # Creating a TCP socket in a C-like manner
1884
     *   s = Socket.new Socket::INET, Socket::SOCK_STREAM
1884
     *   s = Socket.new Socket::AF_INET, Socket::SOCK_STREAM
1885 1885
     *   s.connect Socket.pack_sockaddr_in(80, 'example.com')
1886 1886
     *
1887 1887
     *   # Using TCPSocket
1888
-