The following code produces a KErrNotFound error. I'm using the series 80 emulator and get the same error when running the sample programs in the sdk directory (eikecho). I've read that the older emulators need some sort of plugin,however, I don't think it's needed for this new emulator. I am able to connect to the internet using the default web browser on the emulator after selecting the option for a WLAN access point. Below is the code I am using. Any help would be greatly appreciated.

RSocketServ m_SocketServ;

TRequestStatus status;
TInt errorCode;


TInetAddr iAddress;

RSocket *newSocket = new RSocket();

User::LeaveIfError(newSocket->Open(m_SocketServ, KAfInet, KSockStream, KProtocolInetTcp));

TUint32 aAddr = INET_ADDR(223,65,185,60);

newSocket->Connect(iAddress, status);