[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2 Questions.
> (1) In the context of a Network Server listening on a Port, and accepting
> new connections:
> Is it possible to accept(2) IPv6 and IPv4 "sockets" and to distinguish
> between them ? If the answer is yes, can anyone give me some pointers please
> ?
Yes, see src/usr.sbin/ppp/ppp/server.c 1.12.
--
Brian <brian@freebsd-services.com> <brian@Awfulhak.org>
http://www.freebsd-services.com/ <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org>