hello every body,

Usually one client establishes multiple TCP connections to a certain web server ‎for improved HTTP performance.
how can it seen to be as one session?
is it contain the same port number and Ip address? then what is the difference between it, to diffrentiate between them?
thank you in advance for any help
best regards

HTTP is an application-layer protocol, TCP is a transport-layer protocol. You can not necessarily infer semantics of one from the other.
To do what you are after you need to follow the HTTP session and connect that with the TCP streams related to it. There are tools that do this already. One such tool is WIreshark. Try looking at how they do this to get an idea of what you are up against.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.