First I know it's not a good idea to non-block a socket.
Second, how can a non-blocking connect() work, i'm not writing a program for a lan network with replies under 1ms... The times over the internet are pretty high, if i non-block connect() it will simply never connect!