Re: [nodejs] Two bind() calls

2012-04-05 Thread Emerson Espínola
Thanks. It worked when I created two sockets objetcs. []'s Emerson de Lira Espínola **

Re: [nodejs] Two bind() calls

2012-04-02 Thread Ben Noordhuis
On Mon, Apr 2, 2012 at 23:35, Emerson Espínola wrote: > Hi, > > I'm trying to listen for datagrams in 2 address. > > var dgram = require('dgram'); > var server = dgram.createSocket("udp4"); > server.bind(8001, "192.168.65.66"); > server.bind(8001, "192.168.33.34"); > > I'm always able to bind to t

Re: [nodejs] Two bind() calls

2012-04-02 Thread Naouak
Have you tried listening on 2 different port. I don't think you can bind twice on the same port. Naouak, Grade 2 de Kobal. Site web: http://www.naouak.net On Mon, Apr 2, 2012 at 23:35, Emerson Espínola wrote: > Hi, > > I'm trying to listen for datagrams in 2 address. > > var dgram = require('dg