I am looking for a design approach to implement TCP socket server which is going to serve requests based on multiple ports.
(1) port1 : dedicated for video streaming
(2) port 2: dedicated for audio streaming
(3) port 3: dedicated for data streaming.
In above scenario do i need to create single server to take care with multiple port request or diff-2 server needs to be created for diff-2
request based on port configuration.
Is there any design strategy where connection pool of sockets can be created to serve above mentioned port based requests?
i appreciate if any samples of code to take care of above design will be shared.