tcphack.rb

来自「Amarok是一款在LINUX或其他类UNIX操作系统中运行的音频播放器软件。 」· RB 代码 · 共 19 行

RB
19
字号
# Copyright (c) 2005 Zed A. Shaw # You can redistribute it and/or modify it under the same terms as Ruby.## Additional work donated by contributors.  See http://mongrel.rubyforge.org/attributions.html # for more information.# A modification proposed by Sean Treadway that increases the default accept# queue of TCPServer to 1024 so that it handles more concurrent requests.class TCPServer   def initialize_with_backlog(*args)     initialize_without_backlog(*args)     listen(1024)   end   alias_method :initialize_without_backlog, :initialize   alias_method :initialize, :initialize_with_backlogend

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?