Date: Wed, 02 Sep 1998 20:44:16 +0800 From: Peihan Wang <peihanw@mx.cei.gov.cn> To: freebsd-hackers@FreeBSD.ORG Subject: man page about inet_pton(...) Message-ID: <35ED3DA0.9F510F5A@mx.cei.gov.cn>
next in thread | raw e-mail | index | archive | help
I think this question should be send here. I am learning UNIX network programming on my 2.2.6 box. I just bought a book "UNIX Network Programming Volum I 2nd ed. --- Networking APIs: Sockets and XTI" by W.Richard Stevens. There is a simple example in chapter 1 which uses function "int inet_pton(int, const char *, void *)". In the comments of the program, the author explained that inet_pton() is an IPv6 function, and inet_addr() can be used to substitute it. I tried 'man inet_pton' but thereis no man page for it, but when I browse /usr/include/arpa/inet.h it is declared. Although I have tested inet_pton() and there is nothing wrong about it, I still feel uncomfortable for I can not find man pages about IPv6 functions. Who can tell me where to get documents about IPv6 functions and why there is no man pages about it on FreeBSD. Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35ED3DA0.9F510F5A>