Coroutine\Socket->close

关闭Socket

function Coroutine\Socket->close() : bool;
  • 关闭成功返回true
  • 失败返回false

Co\Socket对象析构时如果会自动执行close