Home AMX User Forum MODPEDIA - The Public Repository of Modules for Everyone

Comments

  • vincenvincen Posts: 526
    Thanks for module :) I would suggest to use first_local_ip_port_avalaible (check syntax, it's from memory ;) instead of passing dev parameter, it would make it yet more simple !
  • ericmedleyericmedley Posts: 4,177
    First_local_port does not give you the 'next available' local port. It is essentially a constant 3 or 2 (I can't remember which) a bunch of modules with First_local_port are all going to and use the same IP port. I would not suggest hard coding a device in a module and forcing the rest of the world to just deal with it.
  • viningvining Posts: 4,368
    ericmedley wrote: »
    First_local_port does not give you the 'next available' local port. It is essentially a constant 3 or 2 (I can't remember which) a bunch of modules with First_local_port are all going to and use the same IP port. I would not suggest hard coding a device in a module and forcing the rest of the world to just deal with it.

    +1. .
  • vincenvincen Posts: 526
    my fault, made a confusion :(
Sign In or Register to comment.