5 years, 11 months ago.

UDP socket (sending buffer)

Hello,

UDP socket:

Trying to send 16Kb in one go, does not seems to work. Here my command:

int ret = td_sock.sendto(td_addr, buff2, 16384); :-> this does not work!

Sending 1024 bytes in one go, works fine . Here my command: int ret =td_sock.sendto(td_addr, buff2, 1024); :> this works fine

Anyone an suggestion how to let function the 16Kbyte command? I need to send the data in one 16Kb block for application timing reasons.

Wbr,

Jos

Be the first to answer this question.