UDP problems with NodeMCU

modify your initial posting to have the code properly formatted as a code-section.
This is pretty easy to do

best regards Stefan