Did I find the right examples for you? yes no

All Samples(7)  |  Call(4)  |  Derive(0)  |  Import(3)

src/d/i/digsby-HEAD/digsby/src/msn/p8/MSNP8Notification.py   digsby(Download)
import util
import util.xml_tag
from util import callsback, pythonize, myip, srv_str_to_tuple, fmt_to_dict
from util.primitives.funcs import do, get
from rfc822 import Message as RfcMsg

src/d/i/digsby-HEAD/digsby/src/oscar/rendezvous/directim.py   digsby(Download)
 
from __future__ import with_statement
from util import strlist, lookup_table, bitflags_enabled, myip, callsback
from util.packable import Packable
from oscar.rendezvous.peer import OscarPeer

src/d/i/digsby-HEAD/digsby/src/oscar/rendezvous/peer.py   digsby(Download)
'''
 
from util import autoassign, removedupes, myip, ip_from_bytes
from util.observe import Observable
from oscar.rendezvous.reactsocket import ReactSocketOne
                                   timeout = 0)
 
        ip = myip()
        __, port = self.socket.getsockname()
 
        info('%r is trying a redirect, listening on port %d', self, port)
        info('sending channel 2 request')
        self.send_ch2request(2, port, myip())
 
    def incoming_conn(self, socket):

src/d/i/digsby-HEAD/digsby/src/msn/P2P/P2PSession.py   digsby(Download)
        myPlainNonce = remote.dcPlainKey = remote.dcLocalHashedNonce = remote.dcRemoteHashedNonce = remoteNonce
 
    ipAddress = util.ip_from_bytes(util.myip())
    port = 0
 

src/d/i/digsby-HEAD/digsby/src/msn/MSN.py   digsby(Download)
    def on_recv_profile(self, prof):
        for k in prof:
            self.self_buddy.info[k] = prof[k]
 
        self.ip = self.self_buddy.info.get('clientip', util.myip())