Glenn McCorkle wrote: >>if(sizeof(struct HTTPrecord)+2==len) > > >>Which you later has changed to a subtraction on the len. which gives the >>same result but isnt that logical to read. > > >>if(sizeof(struct HTTPrecord)==len-2) >
Should be (sizeof(struct HTTPrecord)+sizeof(int)=len) anyway :-( my code used to be very dirty and unportable... :-( xCh.
