Hi all,
thanks for all suggestions and advice.
Problem was solved just maintaining exactly the same code written years ago with old ICS version but with only one change.
This change, as suggested by Angus and Remy, was to replace the "TWSocketServer" socket declaration with simply "TWSocket". UDP Server started working again.
Next time I'll read the whole documentation before making updates. 😄