예제 #1
0
파일: tcp.py 프로젝트: DarKprince/emesene2
    def __init__(self, host, port):
        """initializer

            @param host: the hostname to connect to.
            @type host: string

            @param port: the port number to connect to.
            @type port: integer > 0 and < 65536"""
        SocketClient.__init__(self, host, port, AF_INET, SOCK_STREAM)
        ProxyfiableClient.__init__(self)
예제 #2
0
파일: tcp.py 프로젝트: stlcours/emesene
    def __init__(self, host, port):
        """initializer

            @param host: the hostname to connect to.
            @type host: string

            @param port: the port number to connect to.
            @type port: integer > 0 and < 65536"""
        SocketClient.__init__(self, host, port, AF_INET, SOCK_STREAM)
        ProxyfiableClient.__init__(self)
예제 #3
0
파일: tcp.py 프로젝트: DarKprince/emesene2
 def set_socket(self, sock):
     SocketClient._pre_open(self, sock)
     SocketClient._post_open(self)
예제 #4
0
파일: tcp.py 프로젝트: stlcours/emesene
 def set_socket(self, sock):
     SocketClient._pre_open(self, sock)
     SocketClient._post_open(self)