[maemo-developers] [maemo-developers] osso_socket doesn't work under scratchbox

From: Kalle Vahlman kalle.vahlman at gmail.com
Date: Sun Aug 27 21:01:17 EEST 2006
2006/8/27, Vladislav Vasiliev <vlad at gas.by>:
> I already posted message about this issue some time ago:
> http://maemo.org/pipermail/maemo-developers/2006-July/004752.html
> Unfortunately I didn't get any answers on that post.
> This time I'm trying to provide more details:
> My environment: Maemo 2.0 i386 rootstrap, af-sb-init.sh started.
> I'm using /usr/share/doc/osso-ic-dev/examples/osso-socket.c example.
> Compile it:
> gcc osso-socket.c -o osso-socket `pkg-config --cflags --libs osso-ic
> and run:
> run-standalone.sh ./osso-socket 80
> So, this is the output I get:
> socket error: No route to host

Some basic sanity check questions:

Does connection to eg. localhost work?

Does wget or any other network utility work under scratchbox for you?

Have you "synced" the resolv.conf from /etc outside scratchbox to inside it?

Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi

More information about the maemo-developers mailing list