switch to sockets.tcp for the socket provider

This and close are the calls that can be made on both tcp and tcpServer.
Others are specific in the type of socket that they work on. comment added.


On Mon, Aug 11, 2014 at 5:27 PM, Lucas Dixon <notifications@github.com>
wrote:

> In providers/tcpsocket.js:
>
> > @@ -24,7 +34,7 @@ var Socket_chrome = function(channel, dispatchEvent, id) {
> >   */
> >  Socket_chrome.prototype.getInfo = function(continuation) {
> >    if (this.id) {
> > -    chrome.socket.getInfo(this.id, continuation);
> > +    chrome.sockets[this.namespace].getInfo(this.id, continuation);
>
> seems odd to use this.namespace here, and tcp elsewhere... ?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/freedomjs/freedom-for-chrome/pull/17/files#r16089899>.
>