code: def get_stats(self):
          
          sent = ctypes.c_uint32()
          recv = ctypes.c_uint32()
          send_errors = ctypes.c_uint32()
          recv_errors = ctypes.c_uint32()
          result = self.library.Par_GetStats(self.pointer, ctypes.byref(sent),
                                     ctypes.byref(recv),
                                     ctypes.byref(send_errors),
                                     ctypes.byref(recv_errors))
          check_error(result, "partner")
          return sent, recv, send_errors, recv_errors
docs: Returns some statistics.
  
          :returns: a tuple containing bytes send, received, send errors, recv errors