"ext David Hagood" <[EMAIL PROTECTED]> 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

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to