I have tried to do the same on S60 3rd Ed.
I am not sure about the solution, because my app does not work yet, but here
are my current assumptions:
I think the 3rd Ed SDK Help says "Illegal Capability" for the API you are
using.
TInt Open(RSocketServ &aServer, TUint addrFamily, TUint sockType, TUint
protocol);
I don't know what "Illegal Capability" means, but my code did not work on
3rd Ed either, although it worked on 2nd Ed and I had NetworkServices etc.
capabilities that are available with ACS publisher ID but without
manufacturer's explicit permission.
When I noted the "Illegal Capability" thing in the Help, I decided to use
the API
TInt Open(RSocketServ &aServer, TUint addrFamily, TUint sockType, TUint
protocol, RConnection &aConnection);
but this seems to require NetworkControl capability for KProtocolInetIcmp
sockets.
(Trying to run the app without NetworkControl capability in the device gives
a security error.)
For NetworkControl capability you need device manufacturer's permission, I
think. I filled the manufacturer's permission request form a week ago but
have received no response yet.
Best regards,
Jyrki
www.aspicore.com
"sympa" <[email protected]> wrote in message
news:F1TMiyafGHA.1040@extapps30...
> Ok, thanks.
>
> When I try to open a socket in this way:
>
> err=iRawSocket.Open(socketServ, KAfInet, KSockDatagram,
> KProtocolInetIcmp);
>
> I obtain error -28 on emulator an error -47 on mobile phone N80
(Symbian
> 9.1). But when a I try this code on Nokia 6680 (Symbian 8.0a) I have not
> obtain error, it works successfully.
> Regards
>
>
> #endif
> "Hamish Willee" <[email protected]> escribi� en el mensaje
> news:wbZACBWfGHA.1912@extapps30...[color=green]
> > That is a bad syntax error, not a platsec warning, so you won't
> > necessarily
> > see anything in epocwind.out.
> >
> > Your socket declaration is probably incorrect. Perhaps you're opening a
> > socket to a non-existant protocol. Not easy to tell without confirming
> > a)thats the call raising the error, b) what exactly you are calling.
> >
> > Regards
> > Hamish
> >
> > "sympa" <[email protected]> wrote in message
> > news:6tDfzUzeGHA.1044@extapps30...[color=darkred]
> >> Hi, I have tested the application on emulator and I have obtained error
> >> "-28" (KErrBadName). After that I have checked epocwind.out but
> > capability
> >> warnings don't appear.
> >>
> >> Any idea?
> >>
> >>
> >>
> >> "Escu" <[email protected]> escribi� en el mensaje
> >> news:5Yb1fEqeGHA.2620@extapps30...
> >> > "sympa" <[email protected]> wrote in message
> >> > news:2TBBeCeeGHA.1044@extapps30...
> >> >> Hi, I am trying to port my ping application to S60 3rd edition but
> >> >> when
> > I
> >> >> try to open a datagram socket with the protocol ICMP or IP (this is
> >> >> the
> >> >> way
> >> >> in which I implement ping in S60 2nd edition) I obtain the error -47
> >> >> (KErrPermisionNotSupported). The phone I'm using is Nokia N80.
> >> >
> >> > You mean KErrPermissionDenied (-46) ... This kind of app can be[/color][/color]
tested[color=green]
> > on[color=darkred]
> >> > emulator and there should be an event in %TEMP%epocwind.out telling[/color][/color]
you[color=green][color=darkred]
> >> > exactly what capability is missing ...
> >> >
> >> >> I'm using a certificate obtained from symbiansigned. I wonder which[/color][/color]
is[color=green][color=darkred]
> >> >> the
> >> >> certification category I need in order to implement a ping in S60[/color][/color]
3rd[color=green][color=darkred]
> >> >> edition. is it needed to obtain a ACS publisher ID? or is it needed[/color][/color]
to[color=green]
> > be[color=darkred]
> >> >> approved by Phone Manufacturer?
> >> >>
> >> >> Thanks in advance
> >> >>
> >> >> Almudena
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >[/color]
>
>[/color]