Skip to content
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

Reemit "close" and "end" on socket connection #282

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hpawe01
Copy link

@hpawe01 hpawe01 commented Mar 24, 2018

To handle an invalid port I need to listen either to the close or to the end event during the connection process.
The timeout event can not be used for such a case: Emitted if the socket times out from inactivity. This is only to notify that the socket has been idle. (https://nodejs.org/api/net.html#net_event_timeout)

To handle an invalid port I need to listen either to the `close` or to the `end` event during the connection process.
The `timeout` event can not be used for such a case: `Emitted if the socket times out from inactivity. This is only to notify that the socket has been idle.` (https://nodejs.org/api/net.html#net_event_timeout)
@momegas
Copy link

momegas commented May 29, 2019

When is this going to be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants