engines/adva_user/vendor/plugins/authentication/lib/radius/auth.rb
def recv_packet
      if select([@sock], nil, nil, @timeout) == nil
	raise "Timed out waiting for response packet from server"
      end
      data = @sock.recvfrom(65536)
      @packet.unpack(data[0])
      return(@packet)
    end
# Receive a packet from the server via UDP.
Receive a packet from the server via UDP.
Receive a packet from the server via UDP .
def recv_packet
      if select([@sock], nil, nil, @timeout) == nil
	raise "Timed out waiting for response packet from server"
      end
      data = @sock.recvfrom(65536)
      @packet.unpack(data[0])
      return(@packet)
    end
def recv_packet if select ( [ @sock ] , nil , nil , @timeout ) == nil raise "Timed out waiting for response packet from server" end data = @sock . recvfrom ( 65536 ) @packet . unpack ( data [ 0 ] ) return ( @packet ) end
Receive a packet from the server via UDP.
Receive a packet from the server via UDP .