-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events emitted? #100
Comments
both @comick would know more about that but generally one should allow for about 50-100 milliseconds for the TCP handshakes and roundtrips to settle down, depends on distance or network conditions. these are good questions probably not explained enough by the documentation. @ColorfullyMe, would you consider a making a PR to help document what's missing? @nickdesaulniers or I (whoever is available) I'm sure would be happy to review a PR so we can finally document these mechanisms facilitating re-use of the module. these are fundamental.
if we could document more events with an example it'd be great, i.e., socket.on('message', callback);
function callback (msg) {
// handle the msg parameter here
// or msg param could be given to an anonymous function
// instead of using this named declaration style
} |
@reqshark I am new to |
it might be possible to initialize the library in one of its debug mode varieties. There's a memory allocation debugging utility built into libnanomsg, also btw, we just introduced a major update in node-nanomsg v2. we're now using streams instead of EventEmitter, so the recv api is different... though |
FYI: I'm planning to rip out the NN_ALLOC_MONITOR facility. |
cool thanks for the heads up @gdamore! looks like you're simplifying things upstream and got rid of ebase too |
Inspecting the code I spot those events that will be emitted:
connect
event?The text was updated successfully, but these errors were encountered: