Commit Graph

4 Commits

Author SHA1 Message Date
ginsbach
236104be8e Add optional method for specifying protocol as part of the service
option.  This is similar to how the port number and protocol name are
specified in services(5).
2014-04-22 02:23:03 +00:00
ginsbach
aa8e09363a Add missing include files. Don't rely on them bein pulled in as a
side effect of other includes.  Fixes build errors when getaddrinfo(1)
is added to the usr.bin tree.
- need <sys/socket.h> for address family (AF_*) and socket type (SOCK_*)
- need <stdio.h> for printf() and friends
2014-03-19 01:24:32 +00:00
ginsbach
55791dff41 add missing break 2014-03-14 13:17:18 +00:00
riastradh
88bc4b53a7 New utility getaddrinfo(1) to reflect getaddrinfo(3).
Discussed on tech-userlevel back in April:

https://mail-index.netbsd.org/tech-userlevel/2013/04/25/msg007719.html

Not hooked into the build or sets yet.
2013-09-30 06:19:22 +00:00