             }
         }
 
-        // kick off our writer thread now that we know we're ready to write 
+        // kick off our writer thread now that we know we're ready to write
         _writer = new Timer(1);
         _writer.addEventListener(TimerEvent.TIMER, sendPendingMessages);
         _writer.start();

     */
    protected function socketOpened (event :Event) :void
    {
        logonToPort(true);
        
        // check for a logoff message
        for each (var message :UpstreamMessage in _outq) {
            if (message is LogoffRequest) {

     */
    protected function socketError (event :IOErrorEvent) :void
    {
        // if we're still trying ports, try the next one.
        if (_portIdx != -1) {
            if (attemptLogon(_portIdx+1)) {
                return;
            }
        }
