Maven module :un.protocol : protocol-echo :
Class : un.protocol.echo.EchoClient
Extends/Implements : -
Subclasses : -

Echo protocol client.
author  Johann Sorel


Variables : -
Functions : EchoClient, EchoClient, EchoClient, EchoClient, send, close




Create an echo client on default port (7).
param  host echo server name
throws  IOException
public void EchoClient (Chars host)


Create an echo client on default port (7).
param  address echo server address
throws  IOException
public void EchoClient (IPAddress address)


Create an echo client.
param  host echo server name
param  port echo server port
throws  IOException
public void EchoClient (Chars host, int port)


Create an echo client.
param  address echo server address
param  port echo server port
throws  IOException
public void EchoClient (IPAddress address, int port)


Send datas and wait for echo response.
param  data byte array to send.
return  byte[] should contain the same values that was send.
throws  IOException
public byte[] send (byte[] data)


Close echo client.
throws  IOException
public void close ()