Loading sjrpc/core/rpcconnection.py +10 −0 Original line number Diff line number Diff line Loading @@ -406,3 +406,13 @@ class RpcConnection(object): ''' return self._sock.fileno() def getpeername(self): ''' Get the peer name. :return: string representing the peer name ''' return '%s:%s' % self._sock.getpeername() Loading
sjrpc/core/rpcconnection.py +10 −0 Original line number Diff line number Diff line Loading @@ -406,3 +406,13 @@ class RpcConnection(object): ''' return self._sock.fileno() def getpeername(self): ''' Get the peer name. :return: string representing the peer name ''' return '%s:%s' % self._sock.getpeername()