Valhalla Legends Archive

Programming => General Programming => Topic started by: MoNksBaNe_Agahnim on November 17, 2003, 04:58 PM

Title: AF_INET
Post by: MoNksBaNe_Agahnim on November 17, 2003, 04:58 PM
when you are doing [sockaddr.sin_family] -- what is AF_INET? i am read on www.msdn.com that you have to always have sin_family equal to it, but has that changed and what exactly is it and does it do?
Title: Re:AF_INET
Post by: Banana fanna fo fanna on November 17, 2003, 05:34 PM
It says you want to use the Internet Protocol (IP).
Title: Re:AF_INET
Post by: Adron on November 19, 2003, 06:56 PM
Look for sockaddr_in vs sockaddr_ipx - the address family is the common member of the sockaddr structures, telling you which particular substructure you have.