Localize sequence packet checking in SocketZero class
commit18d7b32946d09826ac393d68958a64dc08a5efe5
authorChris Frey <cdfrey@foursquare.net>
Fri, 16 May 2008 20:39:23 +0000 (16 16:39 -0400)
committerChris Frey <cdfrey@foursquare.net>
Fri, 16 May 2008 20:39:23 +0000 (16 16:39 -0400)
treefe1c792ab151ed16c18fdc51f6a8d7de24896132
parent96ca1676869291dd9df5f1badd497a3573424c13
Localize sequence packet checking in SocketZero class

Put sequence packet check directly in the
SocketZero::RawReceive() function, which now localizes all
sequence packet handling and checking, as well as avoids
packet order problems when multiple sockets are in use,
such as with pppob...
FIXME - this localized sequence checking may make
all the calls to CheckSequence() obsolete, which
should probably be cleaned up someday, if so.
ChangeLog
src/socket.cc
src/socket.h