Handle sockets and fifos.