开发者

Change Winsock.LocalIP on run time

开发者 https://www.devze.com 2023-03-08 21:28 出处:网络
I have a problem with the Winsock control. The problem is that I can\'t set the right IP for the localIp property.

I have a problem with the Winsock control. The problem is that I can't set the right IP for the localIp property. It becomes relevant when I have some LAN adapters (logical like vmware 开发者_C百科or physical). I have a way to know what is the right ip.

Is there any way to change it?


Bind Method

Winsock1.Bind LocalIP:="127.0.0.1"
0

精彩评论

暂无评论...
验证码 换一张
取 消