> I tried GetLocalSinIP but it returns "0.0.0.0".

Right function but you call it in bad time. ;-) See the warning in 
documentation:

"Warning: when you call : Bind('0.0.0.0','0'); then is nothing done! In 
this case is used implicit system bind instead."

You can read LocalSinIP when socket is created. It is not at this time, 
because socket creation is deffered. It is part of transparent IPv6 
support.

You can read it when you bind to some explicit address, some explicit 
port, after connect or listen, etc. (Or set Family to IPv4 or IPv6 
explicitly and call createSocket before a Bind.)

--
Lukas Gebauer.

http://synapse.ararat.cz/ - Synapse Delphi and Kylix TCP/IP Library
http://geoget.ararat.cz/ - Geocaching solution



------------------------------------------------------------------------------
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