http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48019
--- Comment #12 from Ian Lance Taylor <ian at airs dot com> 2011-03-30 21:05:39 UTC --- Created attachment 23825 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23825 accept testcase OK, so now we know that connect ignores SA_RESTART, but I forgot to ask about accept. Can you try this program as well? On GNU/Linux it prints "accept succeeded". Thanks.