TCPSocket.fromSocket constructor

TCPSocket.fromSocket(
  1. Socket? sock
)

Implementation

TCPSocket.fromSocket(this.sock) {
  //sock = socket;
  //if (socket.)
  //  _state = SocketState.Established;
}