private void ConnectedClassic(IAsyncResult asyncResult) { _baseSock.EndConnect(asyncResult); // -- Create our Wrapped socket. _stream = new MinecraftStream(new NetworkStream(_baseSock), NetworkMode); // -- Subscribe to DataReceived event. OnDataReceived += HandlePacketClassic; // -- Begin data reading. _stream.BeginRead(new byte[0], 0, 0, PacketReceiverClassicAsync, null); }