11 years, 3 months ago.

FRDM K64F EthernetInterface +UDP socket problem

Anyone have a solution for limited send data? I'm using UDP brodcast example code and when I try to send some data in loop like this:

char out_buffer[] = "0";
while (true) {
      
       printf("Broadcasting...\n");
        sock.sendTo(broadcast, out_buffer, sizeof(out_buffer));
        Thread::wait(2);
    }

I get only about 50-60 "0" characters in pc listener and FRDM freeze. Any idea how to solve that problem? Earlier I used TCP example code and problem was the same. Please help

Probably solved by using this version of code http://mbed.org/users/sscaglia/code/K64F_Ether_Working/file/9e1b5dad65e4/main.cpp

posted by Krzysztof Pranga 08 Jul 2014
Be the first to answer this question.