Abl-electronic PIC Microcontrollers PIC16 Manuel d'utilisateur Page 188

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 312
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 187
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
180
MikroElektronika:
Development
tools
-
Books
-
Compilers
page
Prototype
unsigned Eth_Get_Udp_Dest_Port(void);
Returns Returns the destination port of the received UDP packet.
Description The function returns the destination port of the received UDP packet. The second
information contained in the UDP packet header is the destination port (socket) to which
the packet is targeted.
Requires This function must be called in a proper sequence, i.e. immediately after calling the
Eth_Get_Udp_Source_Port function.
Example
udp_dest_port = Eth_Get_Udp_Dest_Port();
Eth_Get_Udp_Dest_Port
Prototype
unsigned Eth_Get_Udp_Source_Port(void);
Returns Returns the source port (socket) of the received UDP packet.
Description The function returns the source port (socket) of the received UDP packet. After the
reception of valid IP packet is detected and its type is determined to be UDP, the UDP
packet header must be interpreted. UDP source port is the first data in the UDP header.
Requires This function must be called in a proper sequence, i.e. immediately after interpretation
of the IP packet header (at the very beginning of UDP packet header retrieval).
Example
udp_source_port = Eth_Get_Udp_Source_Port();
Eth_Get_Udp_Source_Port
Vue de la page 187
1 2 ... 183 184 185 186 187 188 189 190 191 192 193 ... 311 312

Commentaires sur ces manuels

Pas de commentaire