Manage probable connection termination.
This commit is contained in:
parent
d640e36def
commit
65c2ebe0a9
@ -606,7 +606,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -606,7 +606,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -507,7 +507,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -408,7 +408,14 @@ public class GameServerThread extends Thread
|
||||
_out.write(len & 0xff);
|
||||
_out.write((len >> 8) & 0xff);
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -508,7 +508,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -247,7 +247,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -599,7 +599,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -599,7 +599,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -599,7 +599,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -608,7 +608,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -608,7 +608,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
@ -609,7 +609,14 @@ public class LoginServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// LoginServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -249,7 +249,14 @@ public class GameServerThread extends Thread
|
||||
_blowfish.crypt(data, 2, size);
|
||||
|
||||
_out.write(data);
|
||||
_out.flush();
|
||||
try
|
||||
{
|
||||
_out.flush();
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
// GameServer might have terminated.
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
Loading…
Reference in New Issue
Block a user