WIZnet Developer Forum

packet size detecting in W5100

I’m using w5100 and want to know:
how to find the number of “packet” received? means: if 2 packet (with 100 byte data) received in w5100 and after that i go to read them, Sn_RX_RSR is 200? how to differentiate these two packets?


You do not need it for TCP connection, and this type of connection deliberately hides this information from session layer.

whether that means we cannot reset the register value every time we receive a data packet.?

I know it the register value can’t reset every time you receive a data packet.
Just it can modify the register value before socket open operate.

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.