Don't get it
replies(3):
connect() will take time. Either you then fail on reiceiving EINPROGRESS, or you attempt a select() with 0 for the timeout, which will also take time. That that time could add up to 3ms on a mid-90's system also used for other things seems entirely plausible to me.