Skip to content

Commit

Permalink
Merge pull request #2847 from hanazuki/patch-1
Browse files Browse the repository at this point in the history
Fix typo in Addrinfo
  • Loading branch information
znz authored Jan 30, 2024
2 parents 7a0864f + 51a53c0 commit 896cddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refm/api/src/socket/Addrinfo
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sockaddr には文字列もしくは配列を指定します。
なりません。

実際には sockaddr には以下のようなものが使えます。
* ["AF_INET", 46102, "localhost.localdomain", "127,0,0,1"]
* ["AF_INET", 46102, "localhost.localdomain", "127.0.0.1"]
* ["AF_INET6", 42304, "ip6-localhost", "::1"]
* ["AF_UNIX", "/tmp/sock"]
* Socket.sockaddr_in("smtp", "2001:DB8::1")
Expand Down

0 comments on commit 896cddc

Please sign in to comment.