inet Questions
2
Solved
I'm trying to connect to some host, using invalid port, and i want to get timeout after X seconds. How to do that ?
My code:
$sock = new IO::Socket::INET(
PeerAddr => $_[0],
PeerPort => ...
Polyandry asked 25/8, 2010 at 21:38
1
Solved
I created a project which contains my linklayer and simulation source code.
This project has INET as the project reference.
At build time, I got this error:
Error: syntax error, unexpected NAME...
2
I need to perform the following query:
SELECT * FROM users WHERE ip LIKE '88.99.%';
The problem is that the inet datatype does not seems to support wildcards (at least not in the way I have util...
Webbed asked 24/4, 2013 at 11:22
5
Solved
Can anybody tell me the difference between a INET Socket and any other socket?
Is there a C# library that will allow one to work with INET Sockets?
I've attempted to find what it is, but I haven'...
2
I'm trying to convert an IP address that's inputted by a user so that I can perform some bitwise operations on it and a address already stored in a structure.
My problem is however that when the IP...
5
Solved
Here is some code to determine the local host name that is supposed to work on a multi-homed box:
/**
* Work out the first local host name by iterating the network interfaces
*
* @return
* @...
Trophoblast asked 11/4, 2011 at 9:32
1
Solved
I want to check if an IP exists in a range of ranges, eg: SELECT * FROM ip_address WHERE ip IN (<list of ip ranges>)
Postgresql documentation states to use the << operator to check if ...
Iceblink asked 24/7, 2014 at 21:13
1
Solved
I have a problem in my Rails project. In previous projects (not Rails) I just used the "inet" type in PostgreSQL to store an IP address with a subnet, something like this:
192.168.1.0/30
192.1...
Confounded asked 31/3, 2014 at 21:24
1
Solved
What is prim_inet module , how it works ?
i tried to google it but i didn't find any useful docs.
i looked at the source file prim_inet.erl but nothing special there , dose prim_inet:async_recv spa...
1
Solved
i am working with ipv4 and ipv6 to store in postgres db.
as ipv4 needs 32 bits(4byte) and ipv6 needs 128(16byte) bits.then why in postgres CIDR and INET datatype has the storage as 12 byte and 24 ...
Otey asked 18/7, 2012 at 13:35
1
Solved
I am using inet_aton to convert IPv4 IP(216.12.207.142) to a string 3624718222. I use the following code for that:
ip_dec = unpack('>L', inet_aton(ip))[0]
Now I need to convert IPv6 ip 2001:2...
Burseraceous asked 11/5, 2012 at 20:50
1
© 2022 - 2024 — McMap. All rights reserved.