Switch to using Async for Sending and Recieving ICMP packets
Advanced command-line ping tool
Brought to you by:
killeroo
Originally created by: Killeroo
At the moment RecieveFrom (line 96 Ping.cs) blocks thread so exitEvent can't be checked and Listening results can't be displayed. Fix would be to switch RecieveFrom to BeginRecieve Async setup so we can check for exit event at any time (instead of only when the socket recieves something)
Use following example for guidence:
https://msdn.microsoft.com/en-us/library/dxkwh6zw(v=vs.110).aspx
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: Killeroo
Also switch listening to use async so we can check for exitEvent