[maemo-developers] Localhost unavailable when wi-fi offline or not connected
From: Kalle Valo Kalle.Valo at nokia.comDate: Wed May 2 14:48:18 EEST 2007
- Previous message: Localhost unavailable when wi-fi offline or not connected
- Next message: Localhost unavailable when wi-fi offline or not connected
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"ext David Hagood" <david.hagood at gmail.com> writes: > The current method Maemo uses to detect an application wanting to access > the Internet (by using ld.so tricks to hook into the socket() call) > seems kind of kludgy to me Actually libconic is the preferred way. The preload library is just for unmodified applications. > - why not use the same sort of trick that PPP uses, where a network > interface always exists and is tied to the default route, and when a > packet is delivered to that interface for routing THEN bring up the > appropriate connections. > > It would take modifications to the kernel - ideally some sort of DBUS > message when a packet needs to be routed - but this would remove the > need to hook into applications, and allow ANY app to generate a request > for connection. Sounds a bit complicated to do this in kernel. How would the application notify that it doesn't need the connection anymore? -- Kalle Valo
- Previous message: Localhost unavailable when wi-fi offline or not connected
- Next message: Localhost unavailable when wi-fi offline or not connected
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]