|
| SocKet connection prob |
 |
Fri, 20 Oct 2006 18:01:14 +053 |
Hi All,
I try to implement socket example my application.
It's working fine emulator.But when i try to run real device
It's give me following error
When i try to connect remote server(Like www.google.co.in. port: 80)
tcpip6_error_NoRoute -5105 IPv6: No route available
Otherwise KErrTimeOut -33.
Even i try nokia socket example ,it's also give me same error code.
I write down the code like this.
In ConstructL()
{/
/ Open channel to Socket Server
User::LeaveIfError( iSocketServ.Connect() );
CActiveScheduler::Add( this );
}
//IN connectL()
{
iAddress.SetPort( iPort );
iAddress.SetAddress( aAddr );
User::LeaveIfError( iSocket.Open(
iSocketServ,KAfInet,KSockStream,KProtocolInetTcp ) );
// Initiate socket connection
iSocket.Connect( iAddress, iStatus );
SetActive();
}
Plz help.
BR
DM
|
| Post Reply
|
| Re: SocKet connection prob |
 |
24 Oct 2006 10:46:14 +0300 |
"DM" <DM@wirelessindia.com> writes:
> When i try to connect remote server(Like www.google.co.in. port: 80)
>
> tcpip6_error_NoRoute -5105 IPv6: No route available
It just means that you don't have a proper internet capable interface
up and running). Its a configuration problem, maybe even depends on
your operator.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|