Replies: 1 comment 4 replies
-
We have a pretty similar example in ractor cluster which is hosting a TCP server socket then reading and writing through various streams. Each TCP connection instantiates an actor which has two children, one for for writing and for reading to the stream concurrently. Messages are sent to the TCP connection actor which yet serialized and sent over the stream. Those portions of it aren't too specific so I think they should be a pretty good example of how to deal with sockets, although they are utilizing protobuff for binary encoding |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys
For TCP stream reading actix has
add_stream
What about
ractor
? How I can read/write TCP stream usingRactor
?Beta Was this translation helpful? Give feedback.
All reactions