Advanced Data Delimiting (Byte Delimiting) description
Use this method with Winsock. Ever had it when you need to send lots of data all at once, and you need individual structured fields for each commands? Does your field data contain special characters or binary data? Conventional methods of delimiting packets simply won’t allow you to get away with that. This code demonstrates how to use Byte Level Delimiting (as I have dubbed it, anyway), and also shows how to buffer incoming and outgoing data, so you can handle large data flawlessly. There is a word document inside the ZIP archive that explains the principle and mechanics of the idea, and also code to demonstrate it. Also uses protocol compression, if the compressed size is smaller than the decompressed size (ZLIB). Feedback greatly appreciated, thank you.
Thank you for downloading this example project. This project will outline
how to go about programming Byte Delimiting as described in Protocol
Mechanics.doc into your own applications. Please be aware that all material
that came with this download is subject to copyright, and you MAY NOT use
any part of it in your own applications (EXCLUDING BUT NOT LIMITED TO:
PERSONAL, NON PROFIT SOFTWARE, EDUCATIONAL USE), without written consent from
the author shown in the copyright works.
This project is supplied "AS IS", and no warranty is made that the project
will not cause damage to your computer system(s) or any attached equipment.
This project is not supported by The ISPN Group.
**RENAME ZLIB.DLL.RENAME TO ZLIB.DLL.**
You need to put the included ZLIB.DLL file in your system directory before
attempting to use this product.
-------------------------------------
(C)2003 Matthew Hall, The ISPN Group.
http://www.ispn-online.co.uk
File List:
BAS/
0b
BAS/modDemo.bas
1Kb
BAS/modProtocol.bas
7Kb
BAS/modZLib.bas
21Kb
FRM/
0b
FRM/frmClient.frm
12Kb
FRM/frmServer.frm
12Kb
Protocol Mechanics.doc
41Kb
Readme.txt
1Kb
prjByteDelimitingDemo.vbp
1Kb
Similar code
A 'Unlimited' Undo and Redo featured editor
(Popularity: ) : This code shows you how to create nearly Unlimited Undos and Unlimited Redos, along with Cut Copy, Paste, and Select All features, in a RichTextBox Control. This code was originally programmed by Jason Shimkoski, it was updated by me when ... Remove Repeated Chars
(Popularity: ) : This project demonstrates how to remove the repeated characters in a string. A progress bar is included so you can know the progress of the operation. Great for beginners. VOTE IT IF YOU LIKE IT! THANKS!