• Post Reply Bookmark Topic Watch Topic
  • New Topic

slow disconnect takes 23 seconds ...

Pinda Ros
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, i have implemented a simple TCP port scanner. It can connect to the port it will try next second to the next port.However my problem is that if it cannot connect to the server then it will take 22 seconds until it moves to the next port... anyone has any idea how to make that faster?
Thanks in advace
heres my code just in case:
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!