A socket operation encountered a dead network
Hi,
I got that error when create the TcpClient for SmartClient. Code is really simple
TcpClient client = new TcpClient(hostname, port);
Note: It's ok if i create TcpClient object for normal windows application. What I notice is that it takes some time to get connected. It may be the problem for Smart Device application.
Thanks
WIROL
[381 byte] By [
wirol] at [2008-1-9]
Hi WIROL,
From your information, I would suggest you try the following things:
1. Can you visit the hostname pc via IE, which looks like: \\hostname\
If you can't visit the hostname, maybe some network problem.
Please check it .
Best regards,
Guang-Ming Bian - MSFT
Hi,
I've already mentioned about that.
I CAN connect to that address with Windows App.
I CAN'T ONLY connect to that address in Mobile App.
I've already tested with both Device Emulator and real PDA.
Thanks
Hi,
Actually, I want to connect to IRC server.
I've already developed PC application and it works well.
Then I created a dummy program for my Mobile and tested it. Then I got connection.
Later I created real application for Mobile and then tested. Then I got that Socket error.
But my mobile can connect to internet. I can view internet web pages and I can view workgroup computers.
Anyway, thanks for your reply
wirol