+ 2
Cannot bind with given Address!?
I try to bind an internet socket with my public IP address! But bind() function doesn't allow me to do that! How do i solve this problem! It raise this run time error: "Can't assign requested address"
4 Respostas
+ 1
no impossible, because the public address belong to another device interface and you only allowed to bind an ip address that is belong to your computer (one of your interfaces 'ethernet, wifi..')
+ 2
Amine Laaboudi Thank you for clarifying that!
+ 1
wait what ?
ishara are you trying to bind the address of a remote host with a local program ?
0
Amine Laaboudi local program bind with public IP address! Isn't it possible?