AnsweredAssumed Answered

question regarding TCP delimiter

Question asked by deoma03 Employee on Jul 6, 2016

We are creating a TCP service (using PCAP file) and having a problem to determine which delimiter we need to use.

It is not just REQ --> RSP sequence, but 2 or 3 REQ --> RSP sequences on a single transaction.

The TCP connection opens and this happens:

REQ (authentication/authorization): TCPC,E999ABCDABAB9999

RSP (OK from server): TK99OK


REQ (data string + XML request): TC99 ATPABCDE9999

<?xml version="1.0" encoding="UTF-8"?>


       XML Request


RSP (data string + XML response): TC99OKABCDELON9999

<?xml version="1.0" encoding="UTF-8"?>

<HomeBReg xmlns:xsi=""

       XML Response



We were able to capture the transactions and used the whole data package as the delimiter, but it considers both requests and responses as one request and not two. Also tried line endings, but no luck.


Just want to check if someone has a suggestion on this.


Thank you,