Open topic with navigation
WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
status = %SS_GETPEERNAME(socket, in_port, in_addr)
Returns SS_SUCCESS (0) or one of the errors in Error codes returned by %SS_GETPEERNAME below. (n)
A descriptor of an open socket created by %SS_SOCKET. (i4)
Returned with the Internet port of the peer. (i4)
Returned with the IPv4 address of the peer. (i4)
%SS_GETPEERNAME returns the name of the peer for a connected stream socket or a datagram socket with an established peer address.
See the Socket Errors table for additional information about these errors.