''

def __init__(self, uid=None, username=None, listenPort=0):

    self.udp_socket = None
    self.listenPort = listenPort
    if (uid is None):
        uid = Define.getDefaultUID()
    if (username is None):
        username = Define.pwd.getpwuid(uid).pw_name
    self.uid = uid
    self.username = username
    if (type(self.username) is str):
        self.username = username.encode('utf-8')
    else:
        try:
            if (type(self.username) is unicode):
                self.username = username.encode('utf-8')
        except:
            pass
    self.startListen()
    self.reset()
