If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Retrieve data sent on network to a specific IP Address

I am trying to retrieve information sent to an IP address which is in my case an IP Phone. I would like to know if there is any free code or API calls that can let me read what's going to a specific IP address on the network so I can do something with it.

Re: Retrieve data sent on network to a specific IP Address

No, I know what Wireshark is. I do not want to sniff the network.

Here is what I want, I want to retrieve information that tries to enter my phone to try and retrieve the phone number to do a search in a database we have here to show the customer's phone history before answering the phone.

I want to show who is calling on the phone next to my desk which has a seperate IP address than my computer and then treat that data as I wish for internal purposes.

Re: Retrieve data sent on network to a specific IP Address

If you're not on the same wire (or at least on a non-switched net) you have to get that information from either some software inside the phone in question or from the other end i.e. the caller or some local server or similar. Either place requires that you know what OS that runs in order to know how to intercept the ip-traffic.

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it.
- Brian W. Kernighan