C
CEBreedlove
I'm trying to trow in another thread into my program. What it's for is
to ping a list of IPs. When it runs the Ping portion of the code, it
assigns a value of 1 or 2 (pingable / not pingable) to a global int. It
works great, however it's slow... If I run the ping portion of my code
in a thread, it returns random values for the pingable / non pingable
values...
My code and a screenshot of is located here.
http://csharp.thinkglobaltech.com/viewtopic.php?p=6#6
the 2 on the left are when i run it w/ the thread, the 1 on the right
is without it in a thread. Only .1 and .2 are pingable in this
situation.
to ping a list of IPs. When it runs the Ping portion of the code, it
assigns a value of 1 or 2 (pingable / not pingable) to a global int. It
works great, however it's slow... If I run the ping portion of my code
in a thread, it returns random values for the pingable / non pingable
values...
My code and a screenshot of is located here.
http://csharp.thinkglobaltech.com/viewtopic.php?p=6#6
the 2 on the left are when i run it w/ the thread, the 1 on the right
is without it in a thread. Only .1 and .2 are pingable in this
situation.