微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!
gets专题提供gets的最新资讯内容,帮你更好的了解gets。
我正在读取TCP套接字上的输入行,类似于: class Bla def getcmd @sock.gets unless @sock.closed? end def start srv = TCPServer.new(5000) @sock = srv.accept while ! @sock.closed? ans = ge