Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 3.03.00

...

 Pointer
p_sock_idPointer to a variable that will receive the socket ID opened from this function.
p_remote_host_namePointer to a string that contains the remote host name to resolve: Can be an IP (IPv4 or IPv6) or a host name (resolved using DNS).
remote_port_nbrPort of the remote host.
p_sock_addrPointer to a variable that will receive the socket address of the remote host. (Can be set to DEF_NULL if the returned value is not required).
p_secure_cfgPointer to the secure configuration (TLS/SSL):

DEF_NULL, if no security enabled.
Pointer to a structure that contains the TLS/SSL parameters, if the TLS/SSL must be active on the connection.
req_timeout_msConnection timeout in ms.
p_errPointer to variable that will receive the return error code from this function.

Returned Value

NET_IP_ADDR_FAMILY_IPv4, if the connected successfully using an IPv4 address.

...