Browse Source

comment cleanup and junk

Cary Sandvig 25 years ago
parent
commit
67cb365f99
1 changed files with 0 additions and 18 deletions
  1. 0 18
      panda/src/testbed/deadrec_send.cxx

+ 0 - 18
panda/src/testbed/deadrec_send.cxx

@@ -520,24 +520,6 @@ static void deadrec_setup(EventHandler& eh) {
   my_arc = new RenderRelation(render, smiley);
   my_arc = new RenderRelation(render, smiley);
 
 
   writer = new ConnectionWriter(&cm, 0);
   writer = new ConnectionWriter(&cm, 0);
-  /*
-  // open a connection to the receiver
-  NetAddress host;
-  if (!host.set_host(hostname, hostport)) {
-    deadrec_cat->fatal() << "Unknown host: " << hostname << endl;
-    exit(0);
-  }
-  conn = cm.open_TCP_client_connection(host, 5000);
-  if (conn.is_null()) {
-    deadrec_cat->fatal() << "no connection." << endl;
-    exit(0);
-  }
-  if (deadrec_cat->is_debug())
-    deadrec_cat->debug() << "opened TCP connection to " << hostname
-			 << " on port " << conn->get_address().get_port()
-			 << " and IP " << conn->get_address() << endl;
-  writer = new ConnectionWriter(&cm, 0);
-  */
 
 
   // create an interface
   // create an interface
   GuiManager* mgr = GuiManager::get_ptr(main_win, mak);
   GuiManager* mgr = GuiManager::get_ptr(main_win, mak);