【发布时间】:2013-10-15 06:30:18
【问题描述】:
我正在尝试为 WP8 实施 gps 跟踪。但我不知道哪个代码可以让我访问套接字以将数据发送到服务器。
我已经在网络表单中尝试过这个
udpClient.Connect(IP, Port)
' Sends a message to the host to which you have connected.
Dim sendBytes As [Byte]() = Encoding.ASCII.GetBytes(message)
udpClient.Send(sendBytes, sendBytes.Length)
udpClient.Close()
但对于 Windows 手机。有点复杂。
请给我一个解决方案
【问题讨论】:
-
您在 Windows Phone 上尝试过什么?另外,您是否看过文档 (msdn.microsoft.com/en-us/library/windowsphone/develop/…)?
标签: c# windows vb.net windows-phone-8