def METHOD_NAME(self, oSocket):
    if self.serverMode():
        raise RuntimeError("Mustbe initialized as client mode")
    self.oSocket = oSocket
    if "timeout" in self.extraArgsDict:
        self.oSocket.settimeout(self.extraArgsDict["timeout"])
    self.remoteAddress = self.oSocket.getpeername()