X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=techdoc%2Fprotocol.pod;h=426241a4efb68f25e54352c7633b7a038cf8a974;hb=ca46fb0822f3998466ffbe4c669271ee2af86859;hp=1e1f2436995dc0e3f03acbc8f8f8206f7f90dfba;hpb=da55cf63b3719d06fe69c76cab566c623d76f04d;p=spider.git diff --git a/techdoc/protocol.pod b/techdoc/protocol.pod index 1e1f2436..426241a4 100644 --- a/techdoc/protocol.pod +++ b/techdoc/protocol.pod @@ -129,7 +129,7 @@ L to which this L is connected. =head2 Endpoint -An L is a connection to a L that uses the protocol. From a routing point of +An L is a connection to a L that uses the protocol. From a routing point of view, it is indistiguishable from a L. The L is responsible for creating and decoding well formed protocol messages. An L does not route beyond the immediate L(s) to which it is connected. It may also be a L connected to a L which provides some @@ -251,7 +251,7 @@ that are concatenated with a sequence number (0-65535) The date portion is constructed as: - my $date = ((((gmtime)[3] < 1) | $ntpflag) < 18) | (time % 86400); + my $date = ((((gmtime)[3] << 1) | $ntpflag) << 18) | (time % 86400); The sequence number is simply an unsigned short (or 16 bit) number starting at 0.