jolhan
asked on
I need a piece of code (using pure VB6 code) to extract the IP address from an IPv6 IP address
I am testing my website on Vista and need a visual basic function (used in classic asp) to extract the IP address from an Ipv6 address.
Thanks
Thanks
ASKER
The proiblem is that with IPV6 I'm getting with the REMOTE_ADDR the new address format like: 2001:0db8:85a3:08d3:1319:8 a2e:0370:7 348.
From this address I need to extract the IP address like 123.456.78.910
From this address I need to extract the IP address like 123.456.78.910
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<%
Dim strServername, strLocalname, strServerIP
strServername = UCase(Request.ServerVariab
strServerIP = UCase(Request.ServerVariab
strRemoteIP = UCase(Request.ServerVariab
Response.write "Server Name = " & strServername
Response.write "<br>"
Response.write "Local Addr = " & strServerIP
Response.write "<br>"
Response.write "Remote Addr = " & strRemoteIP
%>