Please refer to following code:


Connection[] MainConnection = new Connection[7];
String[] RemoteIPAddress = new String[7];

RemoteIPAddress[0] =...