socket-activate icon indicating copy to clipboard operation
socket-activate copied to clipboard

UDP support

Open cecton opened this issue 1 year ago • 2 comments

Hello,

Do you think it would be possible to get UDP support on this program?

Kind regards

cecton avatar Jan 28 '24 22:01 cecton

There are no immediate plans of implementing that, but fundamentally it should be possible. I haven't yet looked at the Go library for UDP and how similar its stack there is to TCP, but I would expect that it is fairly similar.

cherti avatar Jan 28 '24 23:01 cherti

I read that UDP is connectionless.

On a somewhat similar program to socket-activate I noticed that the socket object is created for every message that is transmitted and closed right after. I think it's because UDP is connectionless and you don't need to maintain those objects. That might impact your implementation a lot.

cecton avatar Jan 29 '24 08:01 cecton