Patch level :10.0 patch 802
Files correlati : Ricompilazione Demo : [ ] Commento : Rimessa la chiamata localhost in luch al posto di any address git-svn-id: svn://10.65.10.50/branches/R_10_00@20820 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
5a0ade146c
commit
cf05e08795
@ -83,9 +83,8 @@ bool TLurchServer::PingProcess(const wxString& strApp)
|
|||||||
if (nTimeOut > 2000) nTimeOut = 2000;
|
if (nTimeOut > 2000) nTimeOut = 2000;
|
||||||
|
|
||||||
wxIPV4address ipAddress;
|
wxIPV4address ipAddress;
|
||||||
ipAddress.AnyAddress();
|
ipAddress.LocalHost();
|
||||||
ipAddress.Service(nPort);
|
ipAddress.Service(nPort);
|
||||||
|
|
||||||
wxSocketClient sSock(wxSOCKET_NOWAIT);
|
wxSocketClient sSock(wxSOCKET_NOWAIT);
|
||||||
sSock.Connect(ipAddress, false);
|
sSock.Connect(ipAddress, false);
|
||||||
if (sSock.WaitOnConnect(0, nTimeOut))
|
if (sSock.WaitOnConnect(0, nTimeOut))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user