I understand from earlier SO posts, that you need multiple process (when each process has the same IP) to connect to a ServerSocket. Is this correct?
Then how does a webserver work when you open a website simultaneously in two different tabs of a browser? (Assuming the tabs are running in the same process)
To be exact, I was writing a MJPEG Streamer using ServerSocket, it works fine in one tab of a browser instance, if i open another tab to the same URL, the server never accepts the incoming connection.
How can it be achieved?