/*----< shutdown comm >----------------------------------------*/

        public void close()
        {
            Console.Write("\n  Comm closing");
            rcvr.close();
            sndr.close();
        }
 //this function closes the existing sender factory channel.
 public void closeCreatedChannel()
 {
     sndr.close();
 }