Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 3 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