Next: , Previous: Socket Options, Up: Networking


13.4 INET Domain Sockets

The TCP and UDP sockets that you know and love. Some representation issues:

— Class: sb-bsd-sockets:inet-socket

Class precedence list: inet-socket, socket, standard-object, t

Class representing tcp and udp sockets.

Examples:

           (make-instance 'inet-socket :type :stream :protocol :tcp)
     
           (make-instance 'inet-socket :type :datagram :protocol :udp)
     

— Function: sb-bsd-sockets:make-inet-address dotted-quads

Return a vector of octets given a string dotted-quads in the format "127.0.0.1"

— Function: sb-bsd-sockets:get-protocol-by-name name

Returns the network protocol number associated with the string name, using getprotobyname(2) which typically looks in nis or /etc/protocols