troubleshooting Question

2 different ports connections on server

Avatar of turbot_yu
turbot_yuFlag for Singapore asked on
ProgrammingCNetworking Protocols
1 Comment1 Solution614 ViewsLast Modified:
It need to open a tcp server and accept 2 socket connection from 2 different port.

Originally, for one port socket server, it need


but for another connection from another port, does I need to repeat all the 4 steps again to create another tcp server waiting for the other connection.

Any suggestions, thx.
Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros