Follow by Email

Sunday, November 11, 2007

Chat protocol v1

5-way SIP
P1: s/a (SYN)
P2: s/a (SYN)
P1: hru ? (SYN/ACK)
P2: l7mdL u ? (SYN/ACK)
P1: l7mdL (ACK)

Session:
P1: s'up ? (PING)
P2: aho mashya, u ? / aho 3ayesh, u ? (PONG)
P1: l7mdL (ACK)

Session Suspension
P1: brb/afk (URG)
P2: tyt (ACK)

Half-closed Session Termination
P1: bbl (FIN)
P2: tyt (ACK)

4-way Session Termination
P1: i have 2 go now, need anything ? (SYN/FIN)
P2: no thx (FIN/ACK)
P1: s/a (FIN)
P2: s/a (FIN)

Session Reset
P1: i have to go now, salam (RST)
P2: ... (void)

2 comments:

Kareem Zakaria said...

7asbya Allah wa n3ma il wakeeeeeeeeeeeeeel :D:D:D:D:D:D

Mohammad Nabil Al-Aggan said...

eeeh, mesh sa7 walla la2 :P ?