Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Is it possible to set client local endpoint port with Untiy transport package?

Discussion in 'Unity Transport' started by arielsan, Aug 27, 2020.

  1. arielsan

    arielsan

    Joined:
    Dec 3, 2013
    Posts:
    47
    I have a server with only a port range unblocked and was wondering if there is a way to specify the local endpoint port in the client side. I checked the tutorials and the tests and even the code (with rider decompilation) and couldn't find a way to do that but I might be missing some API.

    BTW, found a way to control the server firewall but I think this could be a normal case, where the server needs to block ports for security and only allow some port range, so I'm still interested in this feature.
     
  2. FakeByte

    FakeByte

    Joined:
    Dec 8, 2015
    Posts:
    147