Hi,
Could you please point some good design options?
Also, will it work if I try to make it without threads using non-blocking socket call?
so if I try to connect to a port and it is not up then instead of blocking I just skip to next port without any delay. Is this something that makes more sense than previous approach?
Thanks