RangerMauve / discovery-swarm-stream

Give access to a discovery swarm instance over a stream.
MIT License
17 stars 3 forks source link

fixing onOpen #3

Closed fsteff closed 6 years ago

fsteff commented 6 years ago

_handleOpen wasn´t called on open

With this the client is able to connect to my server and send messages to a peer. For some reason it is not able to receive the messages from the peer.

RangerMauve commented 6 years ago

I might be doing something wrong with the Duplex Stream.

here is where it should be getting data and sending it down to the server.

here is where I'm piping the replication stream into the ProxyStream