亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? zmodem.doc

?? XMODEM傳輸協議。 通信用代碼。 C語言實現
?? DOC
?? 第 1 頁 / 共 5 頁
字號:
Chapter	8		     ZMODEM Protocol				219.  STREAMING TECHNIQUES / ERROR RECOVERYIt is a	fact of	life that no single method of streaming	is applicableto a majority of today's computing and telecommunicationsenvironments.  ZMODEM provides several data streaming methodsselected according to the limitations of the sending environment,receiving environment, and transmission	channel(s).9.1  Full Streaming with SamplingIf the receiver	can overlap serial I/O with disk I/O, and if thesender can sample the reverse channel for the presence of datawithout	having to wait,	full streaming can be used with	no Attnsequence required.  The	sender begins data transmission	with a ZDATAheader and continuous ZCRCG data subpackets.  When the receiverdetects	an error, it executes the Attn sequence	and then sends aZRPOS header with the correct position within the file.At the end of each transmitted data subpacket, the sender checks forthe presence of	an error header	from the receiver.  To do this,	thesender samples the reverse data	stream for the presence	of either aZPAD or	CAN character.[1] Flow control characters (if present) areacted upon.Other characters (indicating line noise) increment a counter which isreset whenever the sender waits	for a header from the receiver.	 Ifthe counter overflows, the sender sends	the next data subpacket	asZCRCW, and waits for a response.ZPAD indicates some sort of error header from the receiver.  A CANsuggests the user is attempting	to "stop the bubble machine" bykeyboarding CAN	characters.  If	one of these characters	is seen, anempty ZCRCE data subpacket is sent.  Normally, the receiver will havesent an	ZRPOS or other error header, which will	force the sender toresume transmission at a different address, or take other action.  Inthe unlikely event the ZPAD or CAN character was spurious, thereceiver will time out and send	a ZRPOS	header.[2]Then the receiver's response header is read and	acted upon.[3]__________ 1. The	call to	rdchk()	in sz.c	performs this function. 2. The	obvious	choice of ZCRCW	packet,	which would trigger an ZACK from    the	receiver, is not used because multiple in transit frames could    result if the channel has a	long propagation delay. 3. The	call to	getinsync() in sz.c performs this function.Chapter	9		Rev 8-3-87  Typeset 8-4-87			21Chapter	9		     ZMODEM Protocol				22A ZRPOS	header resets the sender's file	offset to the correctposition.  If possible,	the sender should purge	its output buffersand/or networks	of all unprocessed output data,	to minimize theamount of unwanted data	the receiver must discard before receivingdata starting at the correct file offset.  The next transmitted	dataframe should be	a ZCRCW	frame followed by a wait to guaranteecomplete flushing of the network's memory.If the receiver	gets a ZACK header with	an address that	disagreeswith the sender	address, it is ignored,	and the	sender waits foranother	header.	 A ZFIN, ZABORT, or TIMEOUT terminates the session; aZSKIP terminates the processing	of this	file.The reverse channel is then sampled for	the presence of	anotherheader from the	receiver.[4] if	one is detected, the getinsync()function is again called to read another error header.	Otherwise,transmission resumes at	the (possibly reset) file offset with a	ZDATAheader followed	by data	subpackets.9.1.1  Window ManagementWhen sending data through a network, some nodes	of the network storedata while it is transferred to	the receiver.  7000 bytes and more oftransient storage have been observed.  Such a large amount of storagecauses the transmitter to "get ahead" of the reciever.	This can befatal with MEGAlink and	other protocols	that depend on timelynotification of	errors from the	receiver.  This	condition is notfatal with ZMODEM, but it does slow error recovery.To manage the window size, the sending program uses ZCRCQ datasubpackets to trigger ZACK headers from	the receiver.  The returningZACK headers inform the	sender of the receiver's progress.  When thewindow size (current transmitter file offset - last reported receiverfile offset) exceeds a specified value,	the sender waits for aZACK[5]	packet with a receiver file offset that	reduces	the windowsize.Unix sz	versions beginning with	May 9 1987 control the window sizewith the "-w N"	option,	where N	is the maximum window size.  Pro-YAM,ZCOMM and DSZ versions beginning with May 9 1987 control the windowsize with "zmodem pwN".	 This is compatible with previous versions ofthese programs.[6]__________ 4. If sampling	is possible. 5. ZRPOS and other error packets are handled normally. 6. When used with modems or networks that simultaneously assert flowChapter	9		Rev 8-3-87  Typeset 8-4-87			22Chapter	9		     ZMODEM Protocol				239.2  Full Streaming with Reverse InterruptThe above method cannot	be used	if the reverse data stream cannot besampled	without	entering an I/O	wait.  An alternate method is toinstruct the receiver to interrupt the sending program when an erroris detected.The receiver can interrupt the sender with a control character,	breaksignal,	or combination thereof,	as specified in	the Attn sequence.After executing	the Attn sequence, the receiver	sends a	hex ZRPOSheader to force	the sender to resend the lost data.When the sending program responds to this interrupt, it	reads a	HEXheader (normally ZRPOS)	from the receiver and takes the	actiondescribed in the previous section.  The	Unix sz.c program uses asetjmp/longjmp call to catch the interrupt generated by	the Attnsequence.  Catching the	interrupt activates the	getinsync() functionto read	the receiver's error header and	take appropriate action.When compiled for standard SYSTEM III/V	Unix, sz.c uses	an Attnsequence of Ctrl-C followed by a 1 second pause	to interrupt thesender,	then give the sender (Unix) time to prepare for	thereceiver's error header.9.3  Full Streaming with Sliding WindowIf none	of the above methods is	applicable, hope is not	yet lost.  Ifthe sender can buffer responses	from the receiver, the sender can useZCRCQ data subpackets to get ACKs from the receiver withoutinterrupting the transmission of data.	After a	sufficient number ofZCRCQ data subpackets have been	sent, the sender can read one of theheaders	that should have arrived in its	receive	interrupt buffer.A problem with this method is the possibility of wasting an excessiveamount of time responding to the receiver's error header.  It may bepossible to program the	receiver's Attn	sequence to flush thesender's interrupt buffer before sending the ZRPOS header.__________________________________________________________________________    control with XON and XOFF characters and pass XON characters that    violate flow control, the receiving	program	should have a revision    date of May	9 or later.Chapter	9		Rev 8-3-87  Typeset 8-4-87			23Chapter	9		     ZMODEM Protocol				249.4  Full Streaming over Error Free ChannelsFile transfer protocols	predicated on the existence of an error	freeend to end communications channel have been proposed from time totime.  Such channels have proven to be more readily available intheory than in actuality.  The frequency of undetected errorsincreases when modem scramblers	have more bits than the	errordetecting CRC.A ZMODEM sender	assuming an error free channel with end	to end flowcontrol	can send the entire file in one	frame without any checking ofthe reverse stream.  If	this channel is	completely transparent,	onlyZDLE need be escaped.  The resulting protocol overhead for averagelong files is less than	one per	cent.[7]9.5  Segmented StreamingIf the receiver	cannot overlap serial and disk I/O, it uses theZRINIT frame to	specify	a buffer length	which the sender will notoverflow.  The sending program sends a ZCRCW data subpacket and	waitsfor a ZACK header before sending the next segment of the file.If the sending program supports	reverse	data stream sampling orinterrupt, error recovery will be faster (on average) than a protocol(such as YMODEM) that sends large blocks.A sufficiently large receiving buffer allows throughput	to closelyapproach that of full streaming.  For example, 16kb segmentedstreaming adds about 3 per cent	to full	streaming ZMODEM filetransfer times when the	round trip delay is five seconds.10.  ATTENTION SEQUENCEThe receiving program sends the	Attn sequence whenever it detects anerror and needs	to interrupt the sending program.The default Attn string	value is empty (no Attn	sequence).  Thereceiving program resets Attn to the empty default before eachtransfer session.The sender specifies the Attn sequence in its optional ZSINIT frame.The Attn string	is terminated with a null.__________ 7. One	in 256 for escaping ZDLE, about	two (four if 32	bit CRC	is used)    in 1024 for	data subpacket CRC'sChapter	10		Rev 8-3-87  Typeset 8-4-87			24Chapter	10		     ZMODEM Protocol				25Two meta-characters perform special functions:   + \335 (octal) Send a break signal   + \336 (octal) Pause	one second11.  FRAME TYPESThe numeric values for the values shown	in boldface are	given inzmodem.h.  Unused bits and unused bytes	in the header (ZP0...ZP3) areset to 0.11.1  ZRQINITSent by	the sending program, to	trigger	the receiving program to sendits ZRINIT header.  This avoids	the aggravating	startup	delayassociated with	XMODEM and Kermit transfers.  The sending program mayrepeat the receive invitation (including ZRQINIT) if a response	isnot obtained at	first.ZF0 contains ZCOMMAND if the program is	attempting to send a command,0 otherwise.11.2  ZRINITSent by	the receiving program.	ZF0 and	ZF1 contain the	 bitwise orof the receiver	capability flags:#define	CANCRY	    8	/* Receiver can	decrypt	*/#define	CANFDX	   01	/* Rx can send and receive true	FDX */#define	CANOVIO	   02	/* Rx can receive data during disk I/O */#define	CANBRK	   04	/* Rx can send a break signal */#define	CANCRY	  010	/* Receiver can	decrypt	*/#define	CANLZW	  020	/* Receiver can	uncompress */#define	CANFC32	  040	/* Receiver can	use 32 bit Frame Check */#define	ESCCTL	 0100	/* Receiver expects ctl	chars to be escaped*/#define	ESC8	 0200	/* Receiver expects 8th	bit to be escaped */ZP0 and	ZP1 contain the	size of	the receiver's buffer in bytes,	or 0if nonstop I/O is allowed.11.3  ZSINITThe Sender sends flags followed	by a binary data subpacket terminatedwith ZCRCW./* Bit Masks for ZSINIT	flags byte ZF0 */#define	TESCCTL	0100   /* Transmitter expects ctl chars	to be escaped*/#define	TESC8	0200   /* Transmitter expects 8th bit to be escapedChapter	11		Rev 8-3-87  Typeset 8-4-87			25Chapter	11		     ZMODEM Protocol				26*/The data subpacket contains the	null terminated	Attn sequence,maximum	length 32 bytes	including the terminating null.11.4  ZACKAcknowledgment to a ZSINIT frame, ZCHALLENGE header, ZCRCQ or ZCRCWdata subpacket.	 ZP0 to	ZP3 contain file offset.  The response toZCHALLENGE contains the	same 32	bit number received in the ZCHALLENGEheader.11.5  ZFILEThis frame denotes the beginning of a file transmission	attempt.ZF0, ZF1, and ZF2 may contain options.	A value	of 0 in	each of	thesebytes implies no special treatment.  Options specified to thereceiver override options specified to the sender with the exceptionof ZCBIN which overrides any other Conversion Option given to thesender or receiver.11.5.1	ZF0: Conversion	OptionIf the receiver	does not recognize the Conversion Option, anapplication dependent default conversion may apply.ZCBIN "Binary" transfer	- inhibit conversion unconditionallyZCNL Convert received end of line to local end of line     convention.  The supported	end of line conventions	are     CR/LF (most ASCII based operating systems except Unix     and Macintosh), and NL (Unix).  Either of these two end     of	line conventions meet the permissible ASCII     definitions for Carriage Return and Line Feed/New Line.     Neither the ASCII code nor	ZMODEM ZCNL encompass lines     separated only by carriage	returns.  Other	processing     appropriate to ASCII text files and the local operating     system may	also be	applied	by the receiver.[1]ZCRECOV	Recover/Resume interrupted file	transfer.  ZCREVOV is     also useful for updating a	remote copy of a file that     grows without resending of	old data.  If the destination     file exists and is	no longer than the source, append to     the destination file and start transfer at	the offset     corresponding to the receiver's end of file.  This__________ 1. Filtering RUBOUT, NULL, Ctrl-Z, etc.Chapter	11		Rev 8-3-87  Typeset 8-4-87			26Chapter	11		     ZMODEM Protocol				27     option does not apply if the source file is shorter.     Files that	have been converted (e.g., ZCNL) or subject     to	a single ended Transport Option	cannot have their     transfers recovered.11.5.2	ZF1: Management	OptionIf the receiver	does not recognize the Management Option, thefile should be transferred normally.The ZMSKNOLOC bit instructs the	receiver to bypass thecurrent	file if	the receiver does not have a file with thesame name.Five bits (defined by ZMMASK) define the following set ofmutually exclusive management options.ZMNEWL Transfer	file if	destination file absent.  Otherwise,     transfer file overwriting destination if the source file     is	newer or longer.ZMCRC Compare the source and destination files.	 Transfer if     file lengths or file polynomials differ.ZMAPND Append source file contents to the end of the existing     destination file (if any).ZMCLOB Replace existing	destination file (if any).ZMDIFF Transfer	file if	destination file absent.  Otherwise,     transfer file overwriting destination if files have     different lengths or dates.ZMPROT Protect destination file	by transferring	file only if

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人激情综合网| 一区二区三区在线免费观看 | 国产精品91xxx| 视频一区二区不卡| 亚洲国产日产av| 亚洲国产精品自拍| 亚洲成av人在线观看| 视频一区在线播放| 免费成人你懂的| 韩国精品一区二区| 国产成人午夜精品影院观看视频 | 一区二区三区四区亚洲| 欧美无砖砖区免费| 在线观看免费视频综合| 欧美视频精品在线| 91精品国产aⅴ一区二区| 欧美一区二区三区视频免费| 欧美电影免费观看完整版| 26uuu久久天堂性欧美| 免费看精品久久片| 一区二区在线观看视频| 一区二区激情视频| 日韩精品久久久久久| 久久99精品久久久久久国产越南| 九九九精品视频| 丁香五精品蜜臀久久久久99网站| 福利电影一区二区三区| 九色porny丨国产精品| 风间由美一区二区三区在线观看 | 99r精品视频| 欧美亚洲国产bt| 日韩欧美国产1| 国产欧美视频在线观看| 亚洲欧美电影院| 日韩av成人高清| 风间由美性色一区二区三区| 中文字幕亚洲一区二区va在线| 欧美一区二区高清| 欧美高清在线视频| 亚洲线精品一区二区三区 | 91视频精品在这里| 欧美精品久久99久久在免费线| 日韩精品一区国产麻豆| 国产精品福利一区| 日韩精品电影一区亚洲| 国产剧情在线观看一区二区| 91免费看`日韩一区二区| 91精品国产乱| 亚洲欧美日韩小说| 精品写真视频在线观看| 天天操天天干天天综合网| 九一九一国产精品| 国产成人精品亚洲午夜麻豆| 91福利在线观看| www欧美成人18+| 亚洲图片欧美视频| 国产成人免费9x9x人网站视频| 日本高清无吗v一区| 激情文学综合网| 久久丁香综合五月国产三级网站| www.激情成人| 精品美女在线观看| 一区二区高清在线| 国产91在线看| 日韩美女一区二区三区| 亚洲精选在线视频| 国产91精品久久久久久久网曝门 | 欧美va日韩va| 一区二区三区国产精品| 国产激情偷乱视频一区二区三区| 欧美日韩在线一区二区| 国产精品电影院| 综合中文字幕亚洲| 国产一区二区三区在线观看免费 | 久久99久久99精品免视看婷婷| 91色在线porny| 一区二区中文字幕在线| 韩国欧美国产1区| 亚洲国产你懂的| 中文字幕色av一区二区三区| 国产一区二区三区黄视频 | 欧美在线免费观看视频| 亚洲国产精品ⅴa在线观看| 免播放器亚洲一区| 欧美男男青年gay1069videost | 成人永久看片免费视频天堂| 日韩女优av电影| 欧美bbbbb| 美日韩一级片在线观看| 欧美日韩一区三区| 一区二区三区国产豹纹内裤在线| 成人av在线观| 中文字幕精品在线不卡| 国产一区三区三区| www一区二区| 久久99日本精品| 日韩免费高清av| 成人一区二区三区视频| 亚洲精品在线免费播放| 久久超级碰视频| 亚洲精品一区二区三区四区高清| 日韩高清不卡一区| 日韩一区二区免费在线电影| 日韩综合在线视频| 欧美一区二区视频免费观看| 视频在线观看一区二区三区| 4438成人网| 久久国产麻豆精品| 精品剧情在线观看| 国产中文字幕精品| 国产亚洲一本大道中文在线| 日本乱码高清不卡字幕| 欧美大片免费久久精品三p| 美脚の诱脚舐め脚责91| 精品乱人伦一区二区三区| 国产精品美女久久久久久久久久久| 国产电影精品久久禁18| 欧美国产日韩一二三区| 99亚偷拍自图区亚洲| 亚洲精品综合在线| 欧美日韩精品三区| 免费在线观看不卡| 久久久精品免费网站| www.日韩在线| 成人午夜大片免费观看| 久久久亚洲精品石原莉奈| 成人深夜福利app| 亚洲蜜臀av乱码久久精品蜜桃| 在线观看中文字幕不卡| 日本不卡的三区四区五区| 欧美精品一区二区三区久久久 | 精品粉嫩超白一线天av| 国产成人免费视频网站| 日韩理论片中文av| 欧美老肥妇做.爰bbww| 久久成人av少妇免费| 亚洲图片欧美激情| 4438成人网| 成人黄色国产精品网站大全在线免费观看 | 欧美日韩国产高清一区二区三区| 国产网站一区二区| 色婷婷一区二区三区四区| 亚洲国产精品久久久久秋霞影院 | 国产精品 日产精品 欧美精品| 日本 国产 欧美色综合| 日韩精品专区在线影院观看| 国产精品一区在线| 亚洲美女免费在线| 精品国产一二三| 色综合久久综合网欧美综合网 | 欧美色图在线观看| 国产在线播精品第三| 亚洲男人的天堂av| 欧美xxxx老人做受| 欧美性受xxxx黑人xyx性爽| 美女一区二区久久| 亚洲视频图片小说| 欧美成人官网二区| 欧亚洲嫩模精品一区三区| 精品在线播放午夜| 亚洲一区二区四区蜜桃| 久久久噜噜噜久久中文字幕色伊伊 | 色94色欧美sute亚洲线路一久| 日本不卡一区二区三区高清视频| 日本一二三不卡| 日韩精品资源二区在线| 欧美私人免费视频| 成人一区二区三区中文字幕| 成人中文字幕在线| 日韩福利电影在线| 一个色妞综合视频在线观看| 国产亚洲欧美激情| 欧美一卡2卡三卡4卡5免费| 不卡一区二区三区四区| 久久国产综合精品| 天堂资源在线中文精品| 视频在线观看一区二区三区| 日韩一区二区三区四区五区六区| 色哟哟精品一区| 成人午夜大片免费观看| 激情综合色播五月| 日韩电影网1区2区| 亚洲制服丝袜av| 亚洲色图.com| 中文字幕第一页久久| 精品国内二区三区| 日韩欧美二区三区| 日韩一区二区三区av| 91麻豆精品国产91久久久久久久久 | 91久久国产最好的精华液| 国产精品亚洲成人| 久久精品国产精品亚洲综合| 亚洲高清视频中文字幕| 亚洲黄色小视频| 日本乱码高清不卡字幕| 天堂av在线一区| 亚洲第一会所有码转帖| 成人免费在线视频| 国产精品国产三级国产普通话99 | 成人丝袜高跟foot|