This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

mem_test()...?

Only one question please
What is the definition of mem_test() function in TCPnet manual

void send_data (void) {
  static const U8 rem_IP[4] = {192,168,0,100};
  U8 *sendbuf;

  if (wait_ack == __TRUE) {
    return;
  }
  if (mem_test (localm[NETIF_ETH].IpAdr, 0, 4) == __TRUE) {
    /* IP address not yet assigned by DHCP. */
    return;
  }
  if (bindex < 128) {
    sendbuf = udp_get_buf (512);
    for (i = 0; i < 512; i += 2) {
      sendbuf[i]   = bcount >> 8;
      sendbuf[i+1] = bcount & 0xFF;
    }
    udp_send (udp_soc, rem_IP, 1000, sendbuf, 512);
  }
}

Is it a member of stdio.h library?
I can not address it anywhere even on google...
Thanks
kom

0