How to handle two applications using same TCP/IP port??

Login to reply to this topic.
Thu, 2005-04-14 09:43
Joined: 2005-02-25
Forum posts: 60
Hi

can anybody plz gimme any idea about how to handle two applications using same TCP/IP port??If one application tries to access the port at the same time while another application is  using the same port,how to make
that application to wait till the application already using the port does complete its process n after that another app shd be bale to use the port??

Plz do tell if u  have any idea??

hope to get a reply
thks n rgds

Thu, 2005-04-14 14:42
Joined: 2004-12-09
Forum posts: 78
Facing the same problem
Hi  
     I am developing a project  which consists of a service and an application .The service runs in background using port no. 100 and an application also uses the same port 100 for certain tasks. Now  the problem is when both of them try to use the same port at the same time a contention occurs causing  problems.  
             Is there some way around so that both the application and the service use the same port without the race condition.
Did u found out  solution.
  • Login to reply to this topic.