Are you missing part of your code? Did you ever get this working?
I’m trying to do the same thing, and I can’t see much on this online. From what I see you’re not keeping the Socket after ticks, it just gets deleted after BeginPlay is called. But I’m not sure, and you’re missing part of your code.