Reading used port using socket
I know that via Socket programming we can bind server application to specific port and make client application to communicate bidirectionally.
Can i listen the specific port which is already receiving some request? e.x My one application uses port no 1234. Now i want to create new application that only reads input request coming to that port and redirecting that request to do some task?
Is there any other way to do the same?
Thanks in advance.