待辦事項 #40822

IPv4/IPv6 listen

啟用日期: 2020-10-01 22:02 最後更新: 2020-12-06 18:52

回報者:
負責人:
(無)
類型:
狀態:
關閉
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:

細節

IPv4/IPv6対応のサーバにおいて、config[:BindAddress] = nil を指定することでIPv4/IPv6の双方でlisten出来るようです。

https://osdn.net/users/mizar/pf/shogi-server/scm/commits/a38e0aa5ca899dd29f90243b707cdd2ae83ba45d

  1. --------------------------------- shogi-server ---------------------------------
  2. @@ -412,7 +412,7 @@ def main
  3. $league.dir = $topdir
  4. config = {}
  5. - config[:BindAddress] = "0.0.0.0"
  6. + config[:BindAddress] = nil
  7. config[:Port] = port
  8. config[:ServerType] = WEBrick::Daemon if $options["daemon"]
  9. config[:Logger] = $logger

Ticket History (3/3 Histories)

2020-10-01 22:02 Updated by: mizar
  • New Ticket "IPv4/IPv6 listen" created
2020-10-02 01:43 Updated by: mizar
  • Details Updated
2020-12-06 18:52 Updated by: beatles
  • 狀態 Update from 開啟 to 關閉

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入