Two different processes will not be able to use the same IP port on the same IP address. Thus, two processes will not be able to use the same inbound data stream exiting the TCP connection. If they use different ports, there is no problem.
If two processes use the same IP port, since HTTP is a protocol that sits on top of TCP, this means that your TCP process can be used as a channel through the HTTP process. A TCP process will connect to the IP port, perform its actions, and forward data to the HTTP process that will process it.
source
share