|
-
March 31st, 2010, 06:14 AM
#1
How can multiple servers be listening to the same HTTP port 80?
Hi,
I'm not a newbie to socket programming, but then again I'm not even close to an expert!
I have a conceptual question.
Suppose to bypass firewalls you make your client server app run on port 80 (ie the server is listening on port 80). Now, if this chat server is listening on port 80 for incoming connections, would it be possible for it to also serve as an HTTP server (webserver), serving webpages even though the web server would also be listening to port 80?
The idea beats me, but I've seen it work! Shouldn't this cause any serialization issues? Or how would the servers even find out, which data is meant for which application...
Any explanations?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|