代码搜索:Protocol
找到约 10,000 项符合「Protocol」的源代码
代码结果 10,000
www.eeworm.com/read/361021/10068470
h arp.h
#ifndef _ARP_H
#define _ARP_H
#include "types.h"
#include "ethernet.h"
#define ETHERTYPE_ARP 0x0608 /* Address resolution protocol */
#define ARPHRD_ETHER 1 /* ethernet hardware for
www.eeworm.com/read/164952/10080813
txt 什么是端口.txt
端口概念
在网络技术中,端口(Port)大致有两种意思:一是物理意义上的端口,比如,ADSL Modem、集线器、交换机、路由器用于连接其他网络设备的接口,如RJ-45端口、SC端口等等。二是逻辑意义上的端口,一般是指TCP/IP协议中的端口,端口号的范围从0到65535,比如用于浏览网页服务的80端口,用于FTP服务的21端口等等。我们这里将要介绍的就是逻辑意义上的端口。
查看 ...
www.eeworm.com/read/164767/10089671
cc sock.cc
#include "root.h"
#include "sock.h"
#include "tcp.h"
#include "udp.h"
#include "raw.h"
#include
int inetsocket(int domain, int type, int protocol)
{
sock_t * s = NULL;
int e;
switch
www.eeworm.com/read/360251/10105714
c connectsock.c
/* connectsock.c - connectsock */
#include
#include
#include
#include
#include
#include
#include
#ifndef I
www.eeworm.com/read/360251/10105757
c connectsock.c
/* connectsock.c - connectsock */
#include
#include
#include
#include
#include
#include
#include
#ifndef I
www.eeworm.com/read/164463/10106654
h in.h
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user leve
www.eeworm.com/read/163523/10154918
h ip.h
/* Ensure network structures aren't padded (DJGPP and VC) */
#pragma pack(1)
#define MAXDATA 1500 /* Maximum Ethernet data size */
#define MAXPACK (MAXDATA+14) /* Maximum packet siz
www.eeworm.com/read/359058/10167888
services
# /etc/services
#
# Network services, Internet style
#
# Note that it is presently the policy of IANA to assign a single well-known
# port number for both TCP and UDP; hence, most entries here have tw
www.eeworm.com/read/163079/10176595
c raw.c
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user l
www.eeworm.com/read/358419/10189370
cpp request.cpp
// Request.cpp: implementation of the Request class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Request.h"
#ifdef _DEBUG
#undef T