0
我試圖運行How to create and use a TCP socket client app for Windows Phone但得到以下錯誤...System.IO.FileNotFoundException Windows Phone中運行TCP客戶端的Socket教程時8
An exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.ni.dll and wasn't handled before a managed/native boundary
An exception of type 'System.Net.Sockets.SocketException' occurred in System.Net.ni.dll and wasn't handled before a managed/native boundary
An exception of type 'System.Net.Sockets.SocketException' occurred in System.Net.ni.dll and wasn't handled before a managed/native boundary
An exception of type 'System.Net.Sockets.SocketException' occurred in System.Net.ni.dll and wasn't handled before a managed/native boundary
An exception of type 'System.Net.Sockets.SocketException' occurred in System.Net.ni.dll and wasn't handled before a managed/native boundary
我已經在運行簡單IP服務我dev電腦和調試時通過USB連接電話。它並不文章你應該使用的IP地址,從手機到dev的電腦提示 - 我已經試過了,
192.168.1.66 // Dev computer address on lan
whitby // Dev computer name
127.0.0.1 // Localhost, refers to dev computer or phone?
localhost // ditto
我猜還有,如果主機是錯的,我會得到一個不錯的錯誤信息 - 相反,沒有什麼(即空字符串)從e.SocketError.ToString()
我使用的Windows Phone 8