                 _state = ST_VIRGIN;
                 break;
             case 0:
-                trace("Socket:heartbeat() trying to connect...");
+//                trace("Socket:heartbeat() trying to connect...");
                 break;
             case 1:
-                trace("Socket:heartbeat() connected!");
+//                trace("Socket:heartbeat() connected!");
                 _state = ST_CONNECTED;
                 dispatchEvent(new Event(Event.CONNECT));
                 break;

        _port = port;

        _state = ST_WAITING;
        trace("Socket:connect() switching to ST_WAITING...");
    }

    public function close () :void

                wrote = nb_write(_oBuf);
            }
            if (read > 0 || wrote > 0) {
//                trace("Socket:heartbeat() read " + read + ", wrote " + wrote);
            }

            _iBuf = massageBuffer(_iBuf);
