datacommsserver/esockserver/ssock/ss_secpol.cpp
changeset 25 e53adc4c49de
parent 0 dfb7c4ff071f
equal deleted inserted replaced
22:592244873960 25:e53adc4c49de
   164 Note that this only polices certain RConnection::Control(KCOLConnection) options that
   164 Note that this only polices certain RConnection::Control(KCOLConnection) options that
   165 are implemented within ESOCK.  NIFMAN will police the remainder of the options.
   165 are implemented within ESOCK.  NIFMAN will police the remainder of the options.
   166 
   166 
   167 */
   167 */
   168 	{
   168 	{
   169 	__ASSERT_ALWAYS(aMsg.Function() == ECNControl, Fault(ENotImplementedYet));
   169 	// ECNControl is all we are expecting
       
   170 	if(aMsg.Function() != ECNControl)
       
   171 		{
       
   172 		return EFail;
       
   173 		}
   170 
   174 
   171    TInt optionLevel = aMsg.Int0();
   175    TInt optionLevel = aMsg.Int0();
   172 
   176 
   173 	if (optionLevel == KCOLConnection)
   177 	if (optionLevel == KCOLConnection)
   174 		{
   178 		{