src/main/java/org/tinyradius/util/RadiusClient.java
public static RadiusPacket communicate(RadiusEndpoint remoteServer, RadiusPacket request)
        throws RadiusException, IOException {
        RadiusClient rc = new RadiusClient(remoteServer);
        return rc.communicate(request, remoteServer.getEndpointAddress().getPort());
    }
/**
     * Sends the specified packet to the specified Radius server endpoint.
     *
     * @param remoteServer Radius endpoint consisting of server address,
     *                     port number and shared secret
     * @param request      Radius packet to be sent
     * @return received response packet
     * @throws RadiusException malformed packet
     * @throws IOException     error while communication
     */
Sends the specified packet to the specified Radius server endpoint.


Sends the specified packet to the specified Radius server endpoint .
public static RadiusPacket communicate(RadiusEndpoint remoteServer, RadiusPacket request)
        throws RadiusException, IOException {
        RadiusClient rc = new RadiusClient(remoteServer);
        return rc.communicate(request, remoteServer.getEndpointAddress().getPort());
    }
public static RadiusPacket communicate ( RadiusEndpoint remoteServer , RadiusPacket request ) throws RadiusException , IOException { RadiusClient rc = new RadiusClient ( remoteServer ) ; return rc . communicate ( request , remoteServer . getEndpointAddress ( ) . getPort ( ) ) ; }
Sends the specified packet to the specified Radius server endpoint.
Sends the specified packet to the specified Radius server endpoint .