How to send request from IPv6 Address from box which has dula IP (i.e both IPV4 & IPv6) -


i have linux box serves client , has dual ip i.e both ipv4 & ipv6. send request client box via ipv6 address. default server receives request ipv4 address. can not make changes server. there easy way/configuration can done on client machine request sent via ipv6 address. in regard appreciated.

on client, make sure you're using ipv6 socket, not ipv4 socket:

int sock = socket(af_inet6, sock_stream, 0); 

the af_inet6 specifies ipv6. af_inet specifies ipv4...


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -