Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-06 | ape/bsd/bind.c, ape/bsd/listen.c: Use _syserrno. | Benjamin Riefenstahl | |
2022-06-11 | ape/bsd/bind.c: Do not pretend that the port could be negative. | Benjamin Riefenstahl | |
Ports are filtered through "htons" which returns an "unsigned short". | |||
2022-06-10 | ape/bsd/bind.c, ape/bsd/listen.c: Set local IP. | Benjamin Riefenstahl | |
Despite what the man pages say, local addresses can actually be set so do that. | |||
2022-06-10 | ape/bsd/bind.c: Do not issue "bind *". | Benjamin Riefenstahl | |
Despite the documentation, "bind *" is invalid and gives the error "bad numeric port" in devip.c:setladdrport. "bind 0" OTOH is actually supported fine in the Plan9 API and has the right sematics. | |||
2013-04-02 | ape: check *alen before copying in getpeername(), getsockname() and accept() | cinap_lenrek | |
*alen has to be initialized to the size of the buffer by the caller, and we are supposed to put the real size of the address in there, but not copy more than the original *alen value (truncate). | |||
2013-03-31 | ape: initial IPv6 support, inet_pton()/inet_ntop(), getaddrinfo()/getnameinfo() | cinap_lenrek | |
2011-03-30 | Import sources from 2011-03-30 iso image - lib | Taru Karttunen | |
2011-03-30 | Import sources from 2011-03-30 iso image | Taru Karttunen | |