Getting data through UDP connection, no data received

The address is no longer needed after the socket is bound. It’s a shared pointer, yes, and it will self destruct. I can’t see anything obviously wrong with your code :confused: