Assigns a specific IP address to the virtual user.
To assign individual IP addresses to virtual users, you first have to set up multiple IP addresses for the network device. This is done with the Silk Performer System Configuration Manager. Afterwards, you can assign each of the IP addresses to a different virtual user.
WebAPI.bdh
WebSetLocalAddress( in sAddress : string ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
sAddress | IP address |
dcltrans transaction TMain begin WebSetLocalAddress("192.168.20.20"); WebUrl("http://standardhost"); end TMain;