Added function for sending an UDP packet to a specified IP address and port number over an existing UDP connection

This commit is contained in:
adamdunkels 2009-10-18 22:02:01 +00:00
parent e14a30262c
commit fb037e0afb
2 changed files with 26 additions and 2 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: uip-udp-packet.h,v 1.2 2007/04/30 15:19:53 bg- Exp $
* $Id: uip-udp-packet.h,v 1.3 2009/10/18 22:02:01 adamdunkels Exp $
*/
/**
@ -44,5 +44,7 @@
#include "net/uip.h"
void uip_udp_packet_send(struct uip_udp_conn *c, const void *data, int len);
void uip_udp_packet_sendto(struct uip_udp_conn *c, const void *data, int len,
const uip_ipaddr_t *toaddr, uint16_t toport);
#endif /* __UIP_UDP_PACKET_H__ */