void CSocket_UDPContainerView::Sen_UDP()
{
TBuf8<100> aData;

TRequestStatus astatus;
TInetAddr servAddr;

servAddr.SetAddress(INET_ADDR(111,11,11,111));
servAddr.SetPort(200);

aData.Copy(_L("Test Data"));

socket.SendTo(aData, servAddr, 10, astatus);
SetActive();
User::WaitForRequest(astatus);
}

I changed the code, but it is giving SetActive() undeclared error..
Can anyone suggest how to remove this error - I'm new to active objects