代码搜索:AF_INET
找到约 1,347 项符合「AF_INET」的源代码
代码结果 1,347
www.eeworm.com/read/173467/9656129
c af_inet.c
/* af_inet.c:
*
* Establishing a Specific AF_INET
* Socket Address:
*/
#include
#include
#include
#include
#include
#include
#in
www.eeworm.com/read/172888/9683243
c mcast_get_loop.c
#include "unp.h"
int
mcast_get_loop(int sockfd)
{
switch (sockfd_to_family(sockfd)) {
case AF_INET: {
u_char flag;
socklen_t len;
len = sizeof(flag);
if (getsockopt(sockfd, IPP
www.eeworm.com/read/172888/9683276
c sock_cmp_port.c
#include "unp.h"
#ifdef HAVE_SOCKADDR_DL_STRUCT
# include
#endif
int
sock_cmp_port(const struct sockaddr *sa1, const struct sockaddr *sa2,
socklen_t salen)
{
if (sa1->sa
www.eeworm.com/read/172888/9683296
c mcast_get_ttl.c
#include "unp.h"
int
mcast_get_ttl(int sockfd)
{
switch (sockfd_to_family(sockfd)) {
case AF_INET: {
u_char ttl;
socklen_t len;
len = sizeof(ttl);
if (getsockopt(sockfd, IPPROT
www.eeworm.com/read/170913/9779883
c cli.c
#include
#include
#include
#include
#include
#include
#include
#include
#define P
www.eeworm.com/read/334895/12564077
c lookup.c
/* lookup.c:
*
* Example of gethostbyname(3) :
*/
#include
#include
#include
#include
#include
#include
#include
www.eeworm.com/read/334895/12564084
c lookup2.c
/* lookup.c:
*
* Example of gethostbyname(3),
* using sethostent(3) :
*/
#include
#include
#include
#include
#include
#include
www.eeworm.com/read/334895/12564161
c bind.c
/* bind.c:
*
* Demonstrating the bind(2) function
* by establishing a Specific AF_INET
* Socket Address:
*/
#include
#include
#include
#include
#include
www.eeworm.com/read/334895/12564170
c~ bind.c~
/* bind.c:
*
* Demonstrating the bind(2) function
* by establishing a Specific AF_INET
* Socket Address:
*/
#include
#include
#include
#include
#include
www.eeworm.com/read/334895/12564183
c af_inet.c
/* af_inet.c:
*
* Establishing a Specific AF_INET
* Socket Address:
*/
#include
#include
#include
#include
#include
#include
#in