Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Connect to host and port specified.

@param host Host to connect
@param port Port to connect with host

src/c/r/crossmess-HEAD/msnp/Msnp15.py   CrossMess(Download)
        debug("prelude(): Start connection.", 3)
        conn = connection()
        conn.connect(self._host, self._port)
        sockfd = conn.getSockfd()
 
        conn.closeSockfd(sockfd)
 
        conn.connect(ns[0], int(ns[1]))
        self._sockfd = conn.getSockfd()