I just realized there is dgram.Socket.. but the documentation says:

The dgram Socket class encapsulates the datagram functionality. It should be 
created viadgram.createSocket(type, [callback]). 

-- 
Diogo Resende


On Friday, October 12, 2012 at 17:25 , Diogo Resende wrote:

> Not crypto related but since you're trying to give consistency to the API, 
> why not make other changes like:
> 
> var sock1 = new require("net").Socket(...);
> var sock1 = require("dgram").createSocket(..);
> 
> I'm sure there aren't a lot of inconsistencies but this is one that bugs me.. 
> 
> -- 
> Diogo Resende
> 
> 
> On Friday, October 12, 2012 at 17:07 , Trevor Norris wrote:
> 
> > (a) go for it
> > 
> > It seems like it would be reasonable to make the change at the same time 
> > you introduce the streams2 branch. Don't worry about migrating it the 
> > current, just to change it over.
> > 
> > On Monday, October 8, 2012 4:24:36 PM UTC-7, Isaac Schlueter wrote:
> > > Please select one, and reply with your choice and perhaps any other 
> > > feedback you have on this issue.  Thanks. 
> > > 
> > > a) Go for it.  This won't affect me, and if by chance it does, I don't 
> > > mind putting 'binary' args here and there. 
> > > b) Please wait.  Mark the API as unstable in 0.10, but don't change it 
> > > until 0.12. 
> > > c) I have no opinion, because I don't use the crypto API directly. 
> > -- 
> > Job Board: http://jobs.nodejs.org/
> > Posting guidelines: 
> > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> > You received this message because you are subscribed to the Google
> > Groups "nodejs" group.
> > To post to this group, send email to [email protected] 
> > (mailto:[email protected])
> > To unsubscribe from this group, send email to
> > [email protected] 
> > (mailto:[email protected])
> > For more options, visit this group at
> > http://groups.google.com/group/nodejs?hl=en?hl=en
> 

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to