Commits

Anonymous committed 7add610

Reset ping TTL after raw socket is closed, The traceRoute() example in the READNE.md used pingHost(), Remove traceRoute() from enhancements section in the README.md

Comments (0)

Files changed (2)

         }
     }
 
-    session.pingHost ("192.168.10.10", 10, feedCb, doneCb);
+    session.traceRoute ("192.168.10.10", 10, feedCb, doneCb);
 
 # Example Programs
 
 
 # Roadmap
 
-In no particular order:
-
- * Implement traceRoute()
-
 Suggestions and requirements should be sent to <stephen.vickers.sv@gmail.com>.
 
 # License
 	this.socket.on ("close", this.onSocketClose.bind (me));
 	this.socket.on ("message", this.onSocketMessage.bind (me));
 	
+	this.ttl = null;
 	this.setTTL (this.defaultTTL);
 	
 	return this.socket;