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

...

net_app.h/net_app.c

Prototype

 

Code Block
NET_SOCK_ID  NetApp_ClientDatagramOpen (CPU_INT08U               *p_addr,
                                        NET_IP_ADDR_FAMILY        addr_family,
                                        NET_PORT_NBR              remote_port_nbr,
                                        NET_SOCK_ADDR            *p_sock_addr,
                                        NET_ERR                  *p_err)

 

Arguments

p_addrPointer to variable that contains IP address of the remote host.
addr_familyIP address contained in the address.
remote_port_nbrPort of the remote host.
p_sock_addr Pointer 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_errPointer to variable that will receive the return error code from this function.

...