I am using java language with jNetPcap library. I would like to know how can I bind to port 5060. I have to make a server program. So my vision is like that:
- bind to port 5060
- get all packets which are going to my server ip and this port
- load them to Sip structure in jnetpcap done.
I will be so satisfied if I get all the packets going to port 5060 as Sip.
can you help me?