I forget ti sai, LastError = 0 and my test in in thread
--- En date de : Jeu 21.1.10, Bubule Bubule <[email protected]> a écrit :
De: Bubule Bubule <[email protected]>
Objet: [Synalist] TTCPBlockSocket.Bind fail on linux (Mandrive 64 bits) with 2
network card
À: "Synapse" <[email protected]>
Date: Jeudi 21 Janvier 2010, 19h22
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
-----La pièce jointe associée suit-----
------------------------------------------------------------------------------
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
-----La pièce jointe associée suit-----
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public
------------------------------------------------------------------------------
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