powered by Jive Software

Connection confirmation even when server name is deliberately wrong

I am establishing a connection using the following code

connection.username = “username”;

connection.password = “password”;

connection.server = “staging.oasisactive.com”;

// Room - CHANGE THESE SETTINGS

var chatRoom = new Room( connection );

chatRoster.dataProvider = chatRoom;

chatRoom.roomName = “flashroom”;

chatRoom.nickname = “flashclient”;

chatRoom.conferenceServer = “conference.staging.oasisactive.com”;

positionAndSizeGUI();

var isConnected = connection.connect( “flash” );

addToChatOutput( “this bloke”, "This here man is " + connection.username);

addToChatOutput( “some bloke”, "server name " + connection.server + " is connected " + isConnected );

chatInput.text = “some kind of rubbish ha”;

Problem is when I deliberately put in a false server name I still get a flag back telling me the connection was successful. Has Anyone else had a similar issue?
gateway_i18n.patch (22897 Bytes)