-----Original Message----- From: Murphy, Ged (Bolton) [mailto:MurphyG@cmpbatteries.co.uk] Sent: 05 August 2005 08:18 To: 'ros-dev@reactos.com' Subject: [ros-dev] RE: [ros-bugs] [Bug 695] New: Tracert - Wrong outpout
This is because GetNameInfo is not implememted in ROS. I originally used GetHostByAddr, but if the IP does not have a hostname, it takes a long time for the function to return, blocking the flow of the program. This is the reason tracert hasn't been added to the bootcd yet.
Alex's ws2_32 rewrite should solve this. I'm hoping he's used GetNameInfo, as GetHostByAddr is depricieted anyway now in favour of this.
I also need to do testing with tracert in ROS, as it is currently untested and will more that likely contain a few bugs. (such confidence I have in my code :) )
I'm also wondering why node 11 and 12 are the same in the above windows output. I haven't seen that happen before. Again, I'll look into it.
Ged.
Sorry, I also forgot to mention that TTL support is not yet acessable via the SetSockOpt routine.
TTL will therefore default to 128 IIRC, which will break out of the loop imidietly as it would if it had hit the default maximum of 30 hops in tracert.
All this info is available in the usage screen which can be viewed by entering 'tracert' with no args.
Ged.
************************************************************************ The information contained in this message or any of its attachments is confidential and is intended for the exclusive use of the addressee. The information may also be legally privileged. The views expressed may not be company policy, but the personal views of the originator. If you are not the addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. If you have received this message in error, please contact postmaster@exideuk.co.uk mailto:postmaster@exideuk.co.uk and then delete this message.
Exide Technologies is an industrial and transportation battery producer and recycler with operations in 89 countries. Further information can be found at www.exide.com