I have written a UDP socket to receive data out from emulator.

TInetAddr m_aAddr.SetPort(12345);

//setup
iSocketServ.Connect();
iSocket.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp);
iSocket.Bind(m_aAddr);

//My receiving code, I used the CActive.
TBuf8<200> m_pBuf;
iSocket.RecvFrom(m_pBuf,m_aAddr,NULL,iStatus);
SetActive();

But it never runs into the RunL function.
I already set up the connection from emulator to PC, and it can work for TCP.
Also, I used the tool m-router to forward the udp packet from PC to Emulator at port 12345.
But this doesn't work too.

Does some one succeed to receive UDP packet in emulator?And how to?Please help me.
Thanks.