EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Binding Local IP

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
Posted: 08/28/2008 23:15:27
by Zeke Kievel (Standard support level)
Joined: 08/28/2008
Posts: 2


I can't seem to bind a specific local IP. The software keeps using the server's default IP. I tried using TElHTTPSClient.LocalAddress and also tried TElHTTPSClient.SocketBinding. Is there something that I missed?

Thanks in advance,
Posted: 08/29/2008 00:39:19
by Ken Ivanov (EldoS Corp.)

Would you be so kind to show the code you are using?
Posted: 08/29/2008 01:31:16
by Zeke Kievel (Standard support level)
Joined: 08/28/2008
Posts: 2

This is the code that I use:

httpClient = new SBHTTPSClient.TElHTTPSClient();
httpClient.MaxRedirections = 0;
httpClient.SocketTimeout = 10000;
httpClient.PreferKeepAlive = true;

httpClient.LocalAddress = "";
httpClient.LocalPort = currentPort;

httpClient.SocketBinding.LocalIntfAddress = "";
httpClient.SocketBinding.Port = currentPort;

both localaddress and socketbinding don't work. No matter what ip i replace "" it would just use the server's default IP
Posted: 08/29/2008 04:55:08
by Ken Ivanov (EldoS Corp.)

Your code is correct and should work. Please re-check that the correct local address is specified and the specified port number is free.

Please also ensure that you are using the latest available build of SecureBlackbox.
Posted: 08/29/2008 05:20:54
by Eugene Mayevski (EldoS Corp.)

JFYI: LocalAddress is obsolete and is mapped to SocketBinding.LocalIntfAddress

Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.



Topic viewed 2237 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!