Hi, is it possible to enable IP forwarding in Symbian phones?
It seems PIPS defines IPCTL_FORWARDING so you could do the typical
int state = 1;
mib = CTL_NET;
mib = PF_INET;
mib = IPPROTO_IP;
mib = IPCTL_FORWARDING;
sysctl(mib, 4, NULL, 0, (void*)&state, sizeof(state))
But sysctl is not defined.
Also i found KSoInetIfQuerySetRouter in in_sock.h but
ipSocket.Open(ss, KAfInet, KSockStream, KProtocolInetTcp);
Fails with a -1 (not much explanation) maybe i've to fill some fields of the TSoInetIfQuery but couldn't find any that made sense.