A
Ali
Hi.. i have an application whose client communicates with server using
sockets.. My application works well on internet but when i create a
smart phone application in C#.NET n try to run it on iMate jam an .NET
Socket error/exception occurs which says "Unknown Host"..
I am using ConnectionManager from OpenNETCF.Net..Code is
*---------------------------------------------------------*
bool connected = false;
ConnectionManger connMgr = new ConnectionManager();
connMgr.Connect(true, ConnectionMode.Asynchronous);
while(!connected)
{
if(connMgr.Status != ConnectionStatus.Connected)
{
Thread.Sleep(1000);
continue;
}
connected = true;
}
*---------------------------------------------------------*
I also run both client n server on the PDA (to check whether PDA
supports sockets or not) by placing "localhost" in client app as server
IP n to my surprise it works perfectly..
I think there is some .NET CF security problem..Now please somebody
tell me wat r the setting or steps which i have to do to make my client
app send data perfectly to server
sockets.. My application works well on internet but when i create a
smart phone application in C#.NET n try to run it on iMate jam an .NET
Socket error/exception occurs which says "Unknown Host"..
I am using ConnectionManager from OpenNETCF.Net..Code is
*---------------------------------------------------------*
bool connected = false;
ConnectionManger connMgr = new ConnectionManager();
connMgr.Connect(true, ConnectionMode.Asynchronous);
while(!connected)
{
if(connMgr.Status != ConnectionStatus.Connected)
{
Thread.Sleep(1000);
continue;
}
connected = true;
}
*---------------------------------------------------------*
I also run both client n server on the PDA (to check whether PDA
supports sockets or not) by placing "localhost" in client app as server
IP n to my surprise it works perfectly..
I think there is some .NET CF security problem..Now please somebody
tell me wat r the setting or steps which i have to do to make my client
app send data perfectly to server