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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Get the socket file descriptor of current connection.

Return a socket file descriptor of current connection.

@return Socket file descriptor.

src/c/r/crossmess-HEAD/msnp/Msnp15.py   CrossMess(Download)
        conn = connection()
        conn.connect(self._host, self._port)
        sockfd = conn.getSockfd()
 
        conn.sendDataTrid("VER", self.getTrid(), None, "MSNP15", sockfd)
 
        conn.connect(ns[0], int(ns[1]))
        self._sockfd = conn.getSockfd()
 
        conn.sendDataTrid("VER", self.getTrid(), None, "MSNP15", self._sockfd)