Artificial intelligent assistant

What will be the sequence number consumed by FIN flag? In the connection termination phase, suppose the FIN segment from the client-side contains data ranging from sequence no **100 to 200,** So will the ACK no from the server start from **201 or 202**? Will the FIN flag consume 1 extra sequence number at the end, making the ACK no from server **202**? Or Will the sequence number consumed by FIN be **99** , before the beginning of the data segment

Accroding to rfc793

TCP FIN occupies one byte in sequence number space and

> the FIN is considered to occur after the last actual data octet in a segment in which it occurs

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 2e744ba57ee887f12a00d0a1aa8d6248