maybe the w5200 puts the header into the data as well. in that case you would need 4 more bytes.
you should clear the buffer by reading 1 byte in a loop till there is no more data.
↧