This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, June 10, 2008 11:59:32 AM(UTC)
Groups: Registered
Posts: 3
When setting the TargetFile of a Capture Control to have it be a server I have to use this format... "ltsf://192.168.1.2". I have two issues.. First, my computer has multiple ip addresses and I would like the server to listen on them all. Second, when using the Capture control as an ActiveX in IE and trying to set the ipaddress automatically with Javascript. I do not know my local ip in Javascript and the server only knows my NATed ip address. Is there any way to bind to 'any'?
#2
Posted
:
Wednesday, June 11, 2008 12:29:07 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
You must specify an IP address to our control. If you want
to connect through (or listen to) multiple addresses at the same time, you
should use multiple instances of our control, where each instance connects to
one of the IP addresses.
About getting the local machine IP address, our controls do
not have this function. Our own demos use the Win32 Sockets API functions such
as gethostname and gethostbyname to retrieve that address. I don't know if
there's a way to retrieve it in JavaScript.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.