Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Switch the order of host and port for constructor of TCPSocket #53

Open
nickdesaulniers opened this issue Oct 29, 2013 · 1 comment
Open

Comments

@nickdesaulniers
Copy link

this makes it easier to reuse code from Node.js in the browser, where Node's API expects port first since the host could be optional (localhost) and optional arguments can't come before required ones.

@ClaesNilsson
Copy link
Contributor

I don't have a strong opinion here and I can do this change if there are no objection from anyone else.

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

No branches or pull requests

2 participants