Skip to content
This repository was archived by the owner on Dec 3, 2020. It is now read-only.

client now propagates event when remote is received#2

Open
hems wants to merge 1 commit intollevkin:masterfrom
hems:fix/server_connection_event
Open

client now propagates event when remote is received#2
hems wants to merge 1 commit intollevkin:masterfrom
hems:fix/server_connection_event

Conversation

@hems
Copy link

@hems hems commented Jun 23, 2014

As reported on #1

server.on( "connection" ) was never fired when trying out the example.

My solution was to make Client an emitter and propagate the remote once it is received.

I'm obviously not sure if that was the place you intended to have this event happening, perhaps it shall come from the "proto" object you instantiated.

Let me know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant