Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
C#
Is it possible for different application to listen at a time at  a same tcp port and ip
Posted
Comments
Nathan Minier 29-Dec-15 9:52am    
Sure, but it'll kick the previous application off of that port.
Mangesh9692 30-Dec-15 23:58pm    
and what about if i want only monitor that message arrival time at that port
Sergey Alexandrovich Kryukov 29-Dec-15 15:09pm    
Why?
—SA

1 solution

No, it's not. Only one app can listen on a port ant any given time.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 29-Dec-15 15:10pm    
5ed.
—SA
Mangesh9692 30-Dec-15 3:57am    
So i want only monitor when last message is passed at that port...plz help me about this
Dave Kreskowiak 30-Dec-15 9:43am    
You would have to write a proxy server. This is far from being a trivial task. If you don't know what a proxy server is you'll have to do a ton of research because there's a lot of work that goes into them and various standards that have to be adhered to in order for your applications to be able to use the proxy.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900