# File src/Client.rb, line 22
                def initialize(sp)
                        socket_path = sp.dup
                        socket_path.untaint
                        tcp_pattern = Regexp.new('^([^:]*):(\d+)')
                        tcp_match = tcp_pattern.match(socket_path)
                        if tcp_match
                                # Connect to a TCP socket.

                                socket_host = tcp_match[1]
                                socket_port = tcp_match[2]
                                TCPSocket.do_not_reverse_lookup = true
                                @socket = TCPSocket.new(socket_host,socket_port)
                        else
                                @socket = UNIXSocket.new(socket_path)
                        end
                end