lkml.org 
[lkml]   [1999]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMake pppd kill active sockets...
I was reading here the other day about why when a
ppp interface goes down, it can be brought back up
without any of the other levels noticing.

While this may be nice in the general case, in the
situation where you have a dialup account where
you never get the same IP twice in a row, it is
totally useless.

So I was wondering if there was a way to notify
applications with a connection over the ppp link
when it goes down, maybe with SIGPIPE, EPIPE or
a Host Unreachable message.

This way you won't get these unclosable sockets
that _eventually_ time out.

I wouldn't even know where to start looking into
this.

Martijn van Oosterhout
Australia

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.085 / U:3.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site