RSocket anr Connections, error code -6 - An argument is out of range
| Mon, 2008-06-23 14:13 | |
|
the problem is: err = iAddress.Input(iServer); my code here: CreateAndConnect( TInt port):CActive( EPriorityStandard )OR if I change the order I gets error -1 on the iResolver.GetByName(,,,,); Should I add some capability? |
|






Forum posts: 88
err = -6
it is system-wide error codes It means that argument is out of range (KErrArgument) ,
iI think , hostname is a Char type array
Do one thing
Replace the following code
hostname = "http://yandex.ru"
TPtrC8 ptr((TUint8 *)hostname);
iServer.Copy(ptr);
with
TPtrC8 buf(hostname , User::StringLength(hostname ));
iServer.Copy(ptr);
Thanks and Regard
Praveen K . S.