 The following code "binds" each pair of adjacent protocols into a separate unit.Each such unit will "select" the proper next layer based on its contained protocol.At this point, the code can parse captured TCP/IP frames into "packet" objects and build these packet objects back into binary representation.