I am trying to send out a couple of udp packets at a time and the stack seems to drop some of the packets in the send_arp function. I see the error:
tftp_udpsend(): udp_send() error -22
on the hyper terminal. I narrowed it down to the SEND_DROPPED error it is returning. Is this because I am not putting a delay in between sending each packet?
This is the code where it happens the most:
Code:
emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff ), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+500) , 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+1000), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+1500), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+2000), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+2500), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+3000), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+3500), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+4000), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+4500), 1000);
Has anyone else run into this problem?
Thank you
Todd