Ludo,

Once the socket is created (or after sent some data maybe?), the binded 
IP will not changed, right? I want to find out what's the IP. In the 
remote side, I can use GetRemoteSinIP to find out the IP. But I don't 
know how to get it in local side. I tried GetLocalSinIP but it returns 
"0.0.0.0".

Lewis

Ludo Brands wrote:
> On windows, if the routing metric of the interfaces is the same then AFAIK
> any interface could be used to send out the data. 
>
> Ludo 
>
>
>
>   
>> -----Message d'origine-----
>> De : Beyond Share Support [mailto:supp...@beyondshare.com] 
>> Envoyé : lundi 20 juin 2011 18:07
>> À : Ararat Synapse
>> Objet : [Synalist] How can I get the real IP the socket binded?
>>
>>
>> I'm using following code while creating a socket to send out data:
>>
>>   sndsock.Bind('0.0.0.0', '0');
>>
>> My system has multiple address, how can I know which IP the sndsock 
>> actually binded? I mean the ip the remote side will get by using 
>> GetRemoteSinIP.
>>
>> Thanks!
>> Lewis
>>
>> --------------------------------------------------------------
>> ----------------
>> EditLive Enterprise is the world's most technically advanced 
>> content authoring tool. Experience the power of Track 
>> Changes, Inline Image Editing and ensure content is compliant 
>> with Accessibility Checking. 
>> http://p.sf.net/sfu/ephox-dev2dev 
>> _______________________________________________
>> synalist-public mailing list synalist-public@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/synalist-public
>>
>>     
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> synalist-public mailing list
> synalist-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/synalist-public
>
>   


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to