TcpSocket_node.prototype.resume = function (callback) {
  if (this.state === TcpSocket_node.state.CONNECTED) {
    this.connection.resume();
    callback();
  } else {