SocketException.closed 构造函数

const SocketException.closed()

创建一个异常,报告在套接字关闭后被使用。

实现

const SocketException.closed()
    : message = 'Socket has been closed',
      osError = null,
      address = null,
      port = null;