https://kotlinlang.org logo
#ktor
Title
# ktor
z

zt

02/09/2023, 5:06 AM
I'm using the network module to interact with unix sockets but im having trouble thinking of how I can get a sort of request/event system working. I'm able to send requests and receive events but i cant think of how to make my functions directly return the response in the receiving channel. is there any examples or ideas on how I can achieve this kind of behavior?
Currently I just have a rudimentary wrapper around it, with a read channel and write channel
And since I am dealing with packets of bytes, I would need to find a better way to be able to structure them in my client
a

Adam S

02/09/2023, 8:48 AM
maybe this is the PR to keep an eye on https://github.com/ktorio/ktor/pull/3342
4 Views