/* This function is called when an UDP datagrm has been received on the port UDP_PORT.  */
void udp_echoclient_send(void)
/* This function is called when an UDP datagrm has been received on the port UDP_PORT.  */
void udp_echoclient_send(void)
{
  struct pbuf *p;
  sprintf((char*)data, "sending udp client message %d", (int)message_count);
  p = pbuf_alloc(PBUF_TRANSPORT,strlen((char*)data), PBUF_POOL);
  if (p != NULL)
  {
    pbuf_take(p, (char*)data, strlen((char*)data));
    udp_send(upcb, p);
    pbuf_free(p);
  }
}