Quantcast
Channel: How to Convert Between IP(v4/v6) Address (and Port) and String? - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by JL2210 for How to Convert Between IP(v4/v6) Address (and Port) and...

There is no API to do this. You have to split off the port number yourself. Also see this answer, which mentions that most utilities use a -p port argument instead of :port to specify the port. If you...

View Article


How to Convert Between IP(v4/v6) Address (and Port) and String?

I'm trying to port some Windows code that uses RtlIpv4StringToAddressExA/RtlIpv6StringToAddressExA and RtlIpv6AddressToStringExA/RtlIpv4AddressToStringExA to Linux and can't seem to find quite...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>