What is AF_INET, and why do I need it?

后端 未结 5 1716
心在旅途
心在旅途 2020-12-12 08:52

I\'m getting started on socket programming, and I keep seeing this AF_INET.

Yet, I\'ve never seen anything else used in its place. My lecturers are not

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-12 09:04

    it defines the protocols address family.this determines the type of socket created. pocket pc support AF_INET.

    the content in the following page is quite decent http://etutorials.org/Programming/Pocket+pc+network+programming/Chapter+1.+Winsock/Streaming+TCP+Sockets/

提交回复
热议问题