I haven't tried it and to be honest I know very little about sockets. I just thought they were a way to connect to your channel while it's running.
Edit: Ok, I tried it and it looks like the firmware and documentation aren't ready for prime time.
If the server will bind to a port, which happened like once out of a dozen tries, SetMessagePort isn't a valid function (and neither is GetID, by the way). Looks like we'll have to wait on this one.
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.