This commit is contained in:
2014-08-13 11:50:01 +04:00
parent 0e8ddca38c
commit a3cc8fc937
2 changed files with 6 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ class AuthFrame extends VGroupView implements IPacketHandler {
if (so.data.login != null && so.data.password != null) {
loginInput.text = so.data.login;
passwordInput.text = so.data.password;
onPress(null);
//onPress(null);
} else {
loginInput.text = "shmyga";
passwordInput.text = "xkbp8jh9z2";

View File

@@ -37,10 +37,12 @@ class NekoWebConnection extends NekoConnection {
}
} else {
var data = parseData(bytes);
if (data != null) {
var packet = WebSocketTools.string2packet(data, builder);
receive(packet);
}
}
}
private function encodeBase64(content:String):String {
@@ -186,6 +188,7 @@ class NekoWebConnection extends NekoConnection {
if (opcode == 136) {
//socket.close();
opened = false;
return null;
}