[maemo-developers] [maemo-developers] "Smartest" way to start network connection "before" socket connection is attempted to be made

From: Tomi Ollila tomi.ollila at guru.guru-group.fi
Date: Sat Mar 4 11:05:42 EET 2006
Tomi Ollila <tomi.ollila at guru.guru-group.fi> writes:

/* stuff deleted */
>
> I found the following explanation from
> http://www.gossamer-threads.com/lists/maemo/developers/4292?page=last
> (google search LD_PRELOAD maemo)

I should have read that to it's end before posting... It is really good read.

/* stuff deleted */

>
> Anyway, I'm testing that by just opening one socket and keep that open
> until all done...


Or I just try with osso_socket()... Does osso_close() wrap anything
or could i just use close() (I will use osso_close, I'm just asking).

btw:s are the strncpy():s in osso-iap-connect.c safe? those doesn't
ensure that the copied string is null-terminated. Maybe that is not
needed or the source is always short enough...that kind of usage
is just always suspicious...


> Tomi

Tomi


More information about the maemo-developers mailing list