Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

LLAPI connection Windows 10 problem

Discussion in 'Multiplayer' started by shoo, Oct 14, 2016.

  1. shoo

    shoo

    Joined:
    Nov 19, 2012
    Posts:
    67
    Hello!

    I am trying to connect (Android)Client -> (W10)Server, I got NetworkError.Ok, then nothing happens and timeout. My code works in cases: (Android)Client -> (Android)Server, (W10)Client -> (Android)Server.

    It seems like port closed, becouse I can't get response on this port with netcat(tho maybe I just using netcat wrong). I turned off firewall and allowed all connection on needed port, but it is still no connection. But broadcasting works and can send messages (broadcast sending message like "ip port" in ip4v format, so client trying to connect on this ip).

    I have no idea how to diagnose problem, NetworkError.Ok says nothing. Please give me suggest, how can I solve this problem?
     
  2. aabramychev

    aabramychev

    Unity Technologies

    Joined:
    Jul 17, 2012
    Posts:
    574
    Did you receive Connect event? Did you call Receive function from Update() ?