Skip to contentSkip to conversation

accept() fails with EINTER

DISCUSSION Robert Hancock 1 participant 1 message Feb 23, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · linux-os

Trying to run an old server with a new kernel. A connection fails with "interrupted system call" as soon as a client attempts to connect. A trap in the code to continue works, but subsequent send() and recv() calls fail in the same way.

Anybody know how to mask that SIGIO (or whatever signal)? Setting signal(SIGIO, SIG_IGN) doesn't do anything useful.

Well, knowing what signal it actually is would help.. tried running it in a debugger?