Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

USB TCP connection on IOS?

Discussion in 'Scripting' started by djnewty, Jul 15, 2016.

  1. djnewty

    djnewty

    Joined:
    Apr 7, 2015
    Posts:
    40
    Hi,

    I'm wondering if it's possible to create a unity TCP client to connect to the USBMux library on a desktop computer?

    https://github.com/libimobiledevice/usbmuxd

    usbmuxd is a library that allows multiple TCP connections to be made with an IOS app - over USB.

    I can see there's lots of python scripts for opening the TCP connections on a desktop computer (so Mac and Win are covered).

    However, I'm a bit stuck on how this could be implemented on IOS in Unity?

    I notice that the peertalk app for IOS contains a library that could be used. Would it be possible to integrate this as a shared library in Unity? If so, any idea where I could get started with this?

    https://github.com/rsms/peertalk

    Any thoughts would be much appreciated. I'm a bit new to all of this (unity and ios)
     
  2. spelman7

    spelman7

    Joined:
    Jul 6, 2017
    Posts:
    1
    Hi djnewty! Did you ever make any progress with this? I'm working on a similar idea and basically have the same question.
     
  3. mTigar

    mTigar

    Joined:
    May 17, 2017
    Posts:
    1
    Hello. Any updates on this?
     
  4. transat

    transat

    Joined:
    May 5, 2018
    Posts:
    779
    Also interested.
     
  5. TerabyteTim

    TerabyteTim

    Joined:
    Oct 20, 2011
    Posts:
    115
    @transat I have created a plugin for doing this easily. I was considering releasing it on the Unity asset store if there is enough interest.

    I'll post back here if I do!
     
    Head-Trip and transat like this.