I have an MFC app (inherited) which works well enough in release mode
but not debug mode; a socket connect call returns a would block code
and waiting for ten or twelve seconds to connect doesn't fix anything.

Any sort of a pat answer to that sort of thing would be welcome...