/// <summary>
 /// set local variables
 /// </summary>
 public void getObjects()
 {
     ip.Local    = ip.getLocalIp();
     this.socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
     this.socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true);
     // default port usobjected -> will not be checked for tcp connection
     this.port.Local  = "1000";
     this.port.Remote = "1001";
 }