6 years, 5 months ago.

LPC4088: UDP client and server on the same board

Dear all, I try to have a UDP client and the corresponding server on the same board, i.e. client needs to connect to localhost server. But apparently, I make a mistake when trying to implement this, see also the attached source file.

When watching the debug output, I can only read:

IP-Adresse: 192.168.2.60 server started. client started (0) Sent 16 Bytes to server 127.0.0.1:3600 Sent 16 Bytes to server 127.0.0.1:3600 Sent 16 Bytes to server 127.0.0.1:3600 Sent 16 Bytes to server 127.0.0.1:3600 (..)

Server is started, but does not receive anything. Can anybody explain why?

/media/uploads/cdelfs/main.cpp

Be the first to answer this question.