Skip to content

TCP server don't update the ack num  #4140

@kyliuxing

Description

@kyliuxing

@kjbracey-arm
hi kjbracey-arm,
I met a issue when made TCP test. I built a TCP server on PC and make my device to connect it, they sent data to each other.
Device send two segments 77576223 ~ 77576649, 77576650 ~ 77578110, and PC ACK 77576223 firstly , then ack 77577683, but in lwip stack, 77577683 can't ack the second segments(6650 ~ 8110), lwip will retransmission it, but PC still ack 77577683 and device do retransmission one more time, it seems a dead loop, until reached the max retry times and device stop the socket.
So why the PC will ack a number 77577683(77577683 - 77576223 = 1460, is it related?) between the 77576650 ~ 77578110? why the PC don't update the ack num even PC receive the retransmission? could you give some advice?
I make capture on PC by wireshark, so i'm sure PC received the retransmission packet.
By the way, i can't uploading attachment, is it has restriction?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions