1
0
Fork 0

Add pingpatch from h-a-l-9000.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3183
This commit is contained in:
Peter Veenstra 2008-07-26 14:49:38 +00:00
parent 3f010a728c
commit ec45bd0fad

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: ipx.cpp,v 1.14 2007-11-01 12:11:40 qbix79 Exp $ */
/* $Id: ipx.cpp,v 1.15 2008-07-26 14:49:38 qbix79 Exp $ */
#include "dosbox.h"
@ -1038,7 +1038,7 @@ public:
WriteOut("IPX Tunneling Client not connected.\n");
return;
}
TIMER_DelTickHandler(&IPX_ClientLoop);
WriteOut("Sending broadcast ping:\n\n");
pingSend();
ticks = GetTicks();
@ -1048,6 +1048,7 @@ public:
WriteOut("Response from %d.%d.%d.%d, port %d time=%dms\n", CONVIP(pingHead.src.addr.byIP.host), SDLNet_Read16(&pingHead.src.addr.byIP.port), GetTicks() - ticks);
}
}
TIMER_AddTickHandler(&IPX_ClientLoop);
return;
}
}