ip-address

Get Client IP address:port (System.Runtime.Remoting.Channels)

I am trying to get a Client IP address & port for an internal collection. I found this answer. However, this seems like a lot more than what I need to simply grab the client's IP address & port. Are there any other ways to do this? ...

IP address of client in Python SimpleXMLRPCServer ?

I have a SimpleXMLRPCServer server (Python). How can I get the IP address of the client in the request handler? This information appears in the log. However, I am not sure how to access this information from within the request handler. ...

Non-server side method of getting local IP address in browser?

I am trying to provide a way for users on my LAN to "register" with the Network admin (me) without having to either a) host a page on my computer b) host a script on the central server (since it is only a router, not really a solid HTTP server) or c) sign up for a Dynamic Domain in order to either either of the first two and avoid the co...

libpcap IP Packet Reassembly

Hello all, I'm looking for a sample code for IP packet reassembly in C with libpcap*. Is IP packet defragmentation implemented in libpcap library officially? I've found this proposal : http://www.mail-archive.com/[email protected]/msg02991.html[this][1] . Are there any implementation of defragmentation of IP packets. ...

insert ip into mysql

I came accross this statement for inserting an IP into a mysql table. INSERT INTO `best` VALUES (132+256*(172+256*(109+256*(115)) I would like to know why an IP is being inserted this way, and how to actually work out what IP is being inserted ...

How to get the origin IP of a netTcpBinding call in WCF?

The called method have access to binding-level information like the origin IP address? ...

PostgreSQL: store IP address of a connection in a table

Hi I'd like to have a column in a Postgres table which will store the remote IP address of the user connecting to the database. I'm thinking of data type "inet" with some sort of default constraint. Any ideas? Thanks. ...

Convert "little endian" hex string to IP address in Python

What's the best way to turn a string in this form into an IP address: "0200A8C0". The "octets" present in the string are in reverse order, i.e. the given example string should generate 192.168.0.2. ...

VB6 Lookup Hostname From IP, Specifying DNS Server

I know how to look up a hostname from an IPv4 in VB using the GetHostByAddr Windows API call (this works great). However, that function does not allow one to specify the DNS server to use. Sometimes the default company DNS servers are fine, but other times I need to specify an external DNS server for lookups, and I don't think doing a sh...

How to convert ip address to DWORD?

Hey, how can I convert ip address to DWORD using python ? I searched a while but didn't found anything useful. Thanks for the helpers! ...

How to detect if user is connecting from a recognized computer?

On many banking and investment websites, the site prevents users from logging in from an unrecognized computer without first answering an additional question or activating that machine. How do developers typically create this feature? For example, here is the message that Salesforce.com gives when I connect to my account from an unreco...

Jain Sip - How to create a SipUri without the @?

Hi all, I am just starting to look at Jain Sip and I was wondering how to create a SipUri that only contains the ip address and does not contain the user and the @ symbol. So currently I get sip:[email protected] and I want to get sip:192.xxx.x.xxx My code is below but, I can remove the User but I cant seem to get rid of the @ symbol...

Going from 127.0.0.1 to 2130706433, and back again

Using the standard Java libraries, what is the quickest way to get from the dotted string representation of an IPV4-address ("127.0.0.1") to the equivalent integer representation (2130706433). And correspondingly, what is the quickest way to invert said operation - going from the integer 2130706433 to the string representation"127.0.0.1...

Need a client side API for determing geo location of IP addresses

I need a client side API in either Java or Ruby. I would much prefer need this to be LOCAL only. Infact this might not even be an IP, but more of a database import. The thing is that I cannot make use of a web service based one as that is too much heavy I/O for me. Note: By geolocation, all I really need is country/region at best. I wou...

Finding the range of ip address using ur ip.in flex 3

Hi, I am developing a network based allication in flex 3 using actionscript.....i need to find the range of ipaddress in which mine will be .... for example in wireless if my ip adders is 192.168.26.166...then system should detect the rangelike 192.168.24.0-192.168.31.255 so that i can browse all their systems in a LAN(WIRELESS or WIRE...

Differentiating Between Two Computers On The Same Intranet

I am trying to create a Socket "Hello World" program. I would ideally like to create two programs who can exchange simple text, peer-to-peer. I can create a webservice that the peers can post their IP Address to. One peer can then select another to pair up with. If one of the peers is my desktop computer, and the other is my laptop, ...

How to get city name based on IP address in java?

Is it possible to know the city name based on IP address in java? ...

How do I access my own website hosted in my machine?

Forgive me if this is a stupid question. I am running XAMPP (lite) for developing my website. I can access it through http://localhost/mysite I wanted to view it on another computer (just for testing purposes), so I went to whatismyip.com, got my ip address, and tried to access the site from another computer using http://xxx.xxx.xxx.xx...

Howto query arp table on iPhone?

Hi, i am new on iPhone development. I want to integrate wake on lan into my app without squeezing my users to enter the computers mac adress when the ip is already known. I googled for about some hours, take the source code of apples arp tool but i don't know howto manage this on iPhone. I am grateful for any help. Thanks! anthonyvage ...

Find closest IP

I know how to scan subnets in c++...I also know how to find geo location (altough it's not 100%)...But does anyone have an idea how can i find the closest ip addresses to mine ? Ex one neighbor is 100 meters from me and another one is 50 and if they are both connected to the internet, i should get the ip of the second which is 50 meter...