コード例 #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)