Closed SerCeMan closed 2 years ago
That is intentionally. This example suppose to use a tool called socat https://github.com/rsocket/rsocket-java/blob/master/rsocket-examples/src/main/java/io/rsocket/examples/transport/tcp/resume/readme.md
Ah, this makes sense, I missed it. 👍
Unless I misunderstood the intent, the server port doesn't seem to match the client port defined below.
https://github.com/rsocket/rsocket-js/blob/7b1fe16e50d41935480e0b3e1beb381e8b07c41f/packages/rsocket-examples/src/ClientServerRequestChannelResumeExample.ts#L100
The port mismatch causes the example to fail with the following error.
Changing the server port to 8001 fixes the example.