• Welcome to Valhalla Legends Archive.
 

AF_INET

Started by MoNksBaNe_Agahnim, November 17, 2003, 04:58 PM

Previous topic - Next topic

MoNksBaNe_Agahnim

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?

Banana fanna fo fanna

It says you want to use the Internet Protocol (IP).

Adron

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.