【问题标题】:Sending image data from iPhone/iPad to Windows PC over wifi通过 wifi 将图像数据从 iPhone/iPad 发送到 Windows PC
【发布时间】:2012-12-23 11:54:48
【问题描述】:

我正在编写一个 iPhone/iPad 程序,我可以在其中捕获图像,在图像上绘制一些东西(例如线条),并将其实时发送到 PC(例如 WinXP)。要将图像数据发送到 PC,我正在考虑蓝牙和 wifi,但这是我发现的:

  1. 蓝牙 - 不可能,没有 API
  2. Wifi TCP/IP - (i) Bonjour NSStream(XCode) and GCDAsyncSocket(C++) (ii) Bonjour NSStream(XCode) and Bonjour Windows (C++)
  3. Wifi UDP - Bonjour NSStream(XCode) and MFC's CAsyncSocket(C++)

上面说的对吗?

【问题讨论】:

    标签: iphone tcp bluetooth wifi


    【解决方案1】:

    恕我直言:在您的 PC 上使用 TCP 服务器和 TCP 客户端应用程序 (FastSocket https://github.com/dreese/fast-socket) 并通过 WiFi(LAN 或 WLAN),您应该能够通过网络发送图像。另外,请看本教程http://www.raywenderlich.com/3932/how-to-create-a-socket-based-iphone-app-and-server

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-09-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多