Link Details

Link 937483 thumbnail
User 962555 avatar

By simonbingham
via simonbingham.me.uk
Submitted: Mar 11 2013 / 16:18

I recently worked on a project where I needed to: store an IP address in a database, retrieve the IP address at a later date, determine if an IP address is present within a range of addresses. To complicate things further I needed to be able to handle IP addresses of both IPv4 (e.g. '70.112.108.147') and IPv6 (e.g. '70.112.108.147.123.123') format.
  • 1
  • 0
  • 207
  • 38

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (1)



Voters Against This Link (0)



    Debugging JavaScript
    Written by: Ashutosh Sharma
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Java EE7
    2. Spring Annotations
    3. Git
    4. Java
    5. REST