代码搜索:AF_INET
找到约 1,347 项符合「AF_INET」的源代码
代码结果 1,347
www.eeworm.com/read/102024/15794512
c sendto.c
#include
#include
#include
#include
#include
#include
#include
#define BUFFSIZE 9
main()
{
s
www.eeworm.com/read/284431/8930638
c client.c
// 捞 橇肺弊伐篮 Linux 肚绰 Cygwin俊辑 哪颇老窍咯 角青茄促.
//弊矾搁 8051苞 捞歹齿阑 烹秦辑 皋矫瘤甫 林绊 罐绰促.
#include
#include
#include
#include
#include
#includ
www.eeworm.com/read/179876/9332720
h sock.h
using namespace std;
#ifndef SOCK_H
#define SOCK_H
#include //struct in_addr et sockaddr_in
#include //struct hostent, servent, et fonctions get..by...
#include
www.eeworm.com/read/165279/10069911
cpp server.cpp
#include
#include
#include
#include
#include
#include
#include
#include
#include
using n
www.eeworm.com/read/279175/10458429
c redistribute.c
/* Redistribution Handler
* Copyright (C) 1998 Kunihiro Ishiguro
*
* This file is part of GNU Zebra.
*
* GNU Zebra is free software; you can redistribute it and/or modify it
* under the terms of
www.eeworm.com/read/278507/10529906
c sock_set_addr.c
#include "unp.h"
void
sock_set_addr(struct sockaddr *sa, socklen_t salen, const void *addr)
{
switch (sa->sa_family) {
case AF_INET: {
struct sockaddr_in *sin = (struct sockaddr_in *) sa;
memc
www.eeworm.com/read/278507/10529940
c sock_set_wild.c
#include "unp.h"
void
sock_set_wild(struct sockaddr *sa, socklen_t salen)
{
const void *wildptr;
switch (sa->sa_family) {
case AF_INET: {
static struct in_addr in4addr_any;
in4addr_any.s_add
www.eeworm.com/read/278507/10531339
c getnameinfo.c
/*
* Copyright (c) 1996 W. Richard Stevens. All rights reserved.
*
* Permission to use or modify this software for educational or
* for commercial purposes, and without fee, is hereby granted,
www.eeworm.com/read/278507/10532402
c getnameinfo.c
#include "gai_hdr.h"
/* include getnameinfo */
int
getnameinfo(const struct sockaddr *sa, socklen_t salen,
char *host, size_t hostlen,
char *serv, size_t servlen, int flags)
{
switch (sa->
www.eeworm.com/read/278507/10532407
c getaddrinfo.c
/* include ga1 */
#include "gai_hdr.h"
#include /* needed for */
#include /* res_init, _res */
int
getaddrinfo(const char *hostname, const char *servname,