adsGetLocalAddressEx

Returns the local NetId and the own port number (thread-safe).

long adsGetLocalAddressEx (
  long     lj_port,
  AmsAddr  lj_AmsAddr
);

Parameter

Return value

long: returns the error state of the function.