This is a little experiment with RSocket in Go using rsocket-go
Start the server
go run ./cmd/server/ --rsocket-binding=:8888 --inbound-binding=:9999Start the client
go run ./cmd/client/ --client-id=one --server-address=localhost:8888Start an inbound connection to server, such as with nc
nc localhost 9999The first line of input needs to be the client ID. For the example above it would be:
one
All remaining inbound input lines are sent as messages from the server back to the client. The client will start a one-second interval ticker to simulate bidirectional activity.