[maemo-developers] [maemo-developers] osso-connectivity and PC_SDK

From: Vladislav Vasiliev vlad at gas.by
Date: Tue Jul 18 13:06:05 EEST 2006
Hello All.

I tried to use function osso_socket on PC_SDK and have received a problem.
I  take standard example for osso-ic-dev in
/usr/share/doc/osso-ic-dev/examples
Compile it:
gcc osso-socket.c -o osso-socket `pkg-config --cflags --libs osso-ic
glib-2.0`   -DDBUS_API_SUBJECT_TO_CHANGE
and run:
run-standalone.sh ./osso-socket 192.168.1.1 80
So, this is the output I get:/
/
socket error: No route to host
Tracking osso_socket(2=PF_INET, 1=SOCK_STREAM, 6=tcp) = 3

What interesting. I load PC_ARMEL environment and I see other output:

socket error: No route to host
Tracking osso_socket(2=PF_INET, 1=SOCK_STREAM, 6=tcp) = 4

Command wget http://192.168.1.1 works perfectly.  

Vlad Vasiliev.


More information about the maemo-developers mailing list