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

examples not working in v0.8.11 due to IOWatcher? #55

Closed
hb9cwp opened this issue Oct 23, 2012 · 2 comments
Closed

examples not working in v0.8.11 due to IOWatcher? #55

hb9cwp opened this issue Oct 23, 2012 · 2 comments

Comments

@hb9cwp
Copy link

hb9cwp commented Oct 23, 2012

When trying to run pcap examples in v0.8.11, they print
"WARNING: don't use IOWatcher, it'll be removed in v0.9"
and immediately return without capturing any packets.

Apparently, IOWatcher is broken since 0.7.9
nodejs/node-v0.x-archive#4136

According to Ben Noordhuis, IOWatcher is deprecated and will be removed with no replacement.
https://groups.google.com/forum/?fromgroups=#!topic/nodejs/uIzIrSrmW7k

Description How to migrate from ev_io_* to uv_poll_* for IO polling
https://github.com/joyent/node/wiki/How-to-migrate-from-ev_io_*-to-uv_poll_*-for-IO-polling

Has anyone worked on this already? Thanks.

@jameswomack
Copy link

The node mDNS repo is a good one to watch for this.

@mranney
Copy link
Collaborator

mranney commented Jan 7, 2015

This is fixed with SocketWatcher.

@mranney mranney closed this as completed Jan 7, 2015
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

No branches or pull requests

3 participants