代码搜索结果
找到约 10,000 项符合
Protocol 的代码
shoutclient.py
from twisted.internet.protocol import Protocol, ClientFactory
class Shout(Protocol): # Class designed to manage a connection.
stringToShout = "Twisted is great!" # a string to send the
nntp.pm
#
# $Id: nntp.pm,v 1.8 1998/11/19 21:45:02 aas Exp $
# Implementation of the Network News Transfer Protocol (RFC 977)
#
package LWP::Protocol::nntp;
require LWP::Protocol;
@ISA = qw(LWP::Protocol);
nntp.pm
#
# $Id: nntp.pm,v 1.8 1998/11/19 21:45:02 aas Exp $
# Implementation of the Network News Transfer Protocol (RFC 977)
#
package LWP::Protocol::nntp;
require LWP::Protocol;
@ISA = qw(LWP::Protocol);
sp_ip_proto.c
/* $Id$ */
/* sp_ip_proto
*
* Purpose:
*
* Check the IP header's protocol field value.
*
* Arguments:
*
* Number, protocol name, ! for negation
*
* Effect:
*
* Success on protocol
sp_ip_proto.c
/* $Id$ */
/* sp_ip_proto
*
* Purpose:
*
* Check the IP header's protocol field value.
*
* Arguments:
*
* Number, protocol name, ! for negation
*
* Effect:
*
* Success on protocol
netprotocol.h
#ifndef __NETPROTOCOL_H__
#define __NETPROTOCOL_H__
#include "MyType.h"
#define PROTOCOL_IP 1
#define PROTOCOL_ARP 2
#define PROTOCOL_NULL 0
#define PROTOCOL_IP_ICMP 1
#
g7to.h
//
// output binary of garmin protocol
//
#define DEBUGREAD 0
//=================================================
// typedefs from the Garmin Protocol Specification
//=========================
config.mk
#######################
# Start SUBSYSTEM SMB_PROTOCOL
[SUBSYSTEM::SMB_PROTOCOL]
PUBLIC_DEPENDENCIES = \
ntvfs LIBPACKET CREDENTIALS
# End SUBSYSTEM SMB_PROTOCOL
#######################
SMB_PROTOCO
fig-3-14.c
/* Protocol 4 (sliding window) is bidirectional. */
#define MAX_SEQ 1 /* must be 1 for protocol 4 */
typedef enum {frame_arrival, cksum_err, timeout} event_type;
#include "protocol.h"
void protocol4
avio.mid
.file 1 "avio.c"
.section .mdebug.abi32
.previous
.section .text.register_protocol,"ax",@progbits
.align 2
.align 5
.globl register_protocol
.ent register_protocol
.type register_protocol, @f