Rubyãæ¸ãã¦ããã¨ããµã¼ããæ¸ããããªããã¨ãããã¾ããçãããããã ã¨æãã¾ãã ã¨ãããã¨ã§ä»æ¥ã¯Rubyã§ã¹ãã¨ãµã¼ããæ¸ãããã®gemãserverengineã®ç°¡åãªä½¿ãæ¹ã¡ã¢ã github.com Rubyã§ãµã¼ããæ¸ããããªã£ãæ ããããçã«ãRubyã§ãã ãµã¼ããæ¸ãã®ã¯é常ã«ç°¡åã§ãããå ·ä½çã«ã¯ Kernel#loop ãªã©ãåãã¦ãã®ä¸ã§ãªã¯ã¨ã¹ããå¾ ã£ãããä½ãããå¦çãè¡ãã°çµãããç¹å¥ãªgemã¯å¿ è¦ãªãããTCPãæ±ãã¯ã©ã¹ãªã©ãçµã¿è¾¼ã¿ã§ç¨æããã¦ããã 以ä¸ã®ãããª9è¡ã®ã¹ã¯ãªãããèµ·åããã°ããµã¼ããæ¸ããã¨è¨ãããã¨ãã㧠TCPServer#accept_nonblockã§ãªãã¨ãacceptã§ãããã¯ãã¦ãã¾ã£ã¦çµäºå¦çãé ãããããã®ã§ãã³ããããã³ã°ã®æ¹ã®APIã好ãã§ä½¿ãã®ãããã ããã require 'socket' server
{{#tags}}- {{label}}
{{/tags}}