代码搜索:AF_INET
找到约 1,347 项符合「AF_INET」的源代码
代码结果 1,347
www.eeworm.com/read/356870/3036397
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/356870/3036399
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/159825/5581203
h ip_alias.h
/*
* IP_ALIAS (AF_INET) aliasing definitions.
*
*
* Version: @(#)ip_alias.h 0.50 4/20/97
*
* Author: Juan Jose Ciarlante,
*
*
* This program is free so
www.eeworm.com/read/452710/7435994
h rip.h
/* rip.h */
#if !defined(_RIP_H_) && defined(RIP)
#define _RIP_H_
#define RIPHSIZE 4 /* size of the header in octets */
#define RIP_VERSION 1 /* RIP version number */
#define AF_INET 2 /*
www.eeworm.com/read/132747/5910573
h ip_alias.h
/*
* IP_ALIAS (AF_INET) aliasing definitions.
*
*
* Version: @(#)ip_alias.h 0.50 4/20/97
*
* Author: Juan Jose Ciarlante,
*
*
* This program is free software; y
www.eeworm.com/read/487308/6518990
bak server.c.bak
/*
* SocketServer.c
* */
#include "sockcom.h"
int initSocket() {
int sockfd, length;
struct sockaddr_in server;
char buf[BUFSIZE];
sockfd=socket(AF_INET, SOCK_STREAM,0);
if (sockfd
www.eeworm.com/read/487308/6518991
c server.c
/*
* SocketServer.c
* */
#include "sockcom.h"
int initSocket() {
int sockfd, length;
struct sockaddr_in server;
char buf[BUFSIZE];
sockfd=socket(AF_INET, SOCK_STREAM,0);
if (sockfd
www.eeworm.com/read/340478/12155045
c server.c
/*
* SocketServer.c
* */
#include "sockcom.h"
int initSocket() {
int sockfd, length;
struct sockaddr_in server;
char buf[BUFSIZE];
sockfd=socket(AF_INET, SOCK_STREAM,0);
if (sockfd
www.eeworm.com/read/209211/4986377
c iproute.c
#include "all.h"
#include "../ip/ip.h"
#define DEBUG if(cons.flags&ralloc.flag)print
enum
{
Version= 1,
/*
* definitions that are innately tied to BSD
*/
AF_INET= 2,
AF_UNSPEC= 0,
/*
www.eeworm.com/read/290808/3970841
c udpserv01.c
#include "unp.h"
int
main(int argc, char **argv)
{
int sockfd;
struct sockaddr_in servaddr, grpaddr, cliaddr;
sockfd = Socket(AF_INET, SOCK_DGRAM, 0);
bzero(&servaddr, sizeof(servaddr));
s