Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Connectivity > age_net
get_socket_link/2
Description
get_socket_link/2 is an Erlang function exported by "age_net" module.
Returns local or remote {IP, Port} from a valid socket. Supports both standard and SSL Erlang sockets.
References
None
Parameters
Name
Type
local | remote
Defines what information you're looking for.
Socket
port() | record()
Socket reference.
Result
Value or Type
tuple()
On success returns {IP, Port}