Hi,

This code

var
    // Server socket
    loServerSock : TTCPBlockSocket ;
begin
        loServerSock.Bind(psListenHost,'21') ;
        loServerSock.SetLinger(LINGER_ENABLE, LINGER_DELAY);

       writeln(loServerSock.GetLocalSinIP) ;
end ;

always return '0.0.0.0' on linux Mandriva 64 bits (Lazarus 0.98.2 32 or 64 
bits).
I try :
psListenHost = '127.0.0.1'
psListenHost = '192.0.0.103'
psListenHost = '0.0.0.0'

Is it 64 bits troubleshooting ?

It's work under windows with lazarus 0.98.2 32 bits

Best Regards,

Emeric



      
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to