2015-02-01 20:34:47 +00:00
|
|
|
/**
|
2015-02-03 20:13:27 +00:00
|
|
|
* TCP transport. Should be compatible with PyBitmessage. Available only
|
|
|
|
* for Node.js.
|
2015-02-01 20:34:47 +00:00
|
|
|
* @module bitmessage/net/tcp
|
|
|
|
*/
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
var inherits = require("inherits");
|
|
|
|
var BaseTransport = require("./base").BaseTransport;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* TCP transport constructor.
|
|
|
|
* @constructor
|
|
|
|
* @static
|
|
|
|
*/
|
|
|
|
function Transport() {
|
|
|
|
Transport.super_.call(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
inherits(Transport, BaseTransport);
|
|
|
|
|
|
|
|
exports.Transport = Transport;
|