TCPGetRemoteAddress
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
dword TcpGetRemoteAddress(dword socket); // form 1dword TCPGetRemoteAddress(dword socket, byte remoteIpv6Address[]); // form 2long TcpGetRemoteAddress(dword socket, IP_Address &address): // form 3
Description
This function retrieves the remote IPv4 address of the specified connected socket.Parameters
- socket: The socket handle.
- remoteIpv6Address: The container for the remote IPv6 address in a 16 byte array.
- address: IP_Address which returns the IP address.