datacommsserver/esockserver/ssock/ss_secpol.cpp
branchRCL_3
changeset 13 0b0e9fce0b58
parent 0 dfb7c4ff071f
equal deleted inserted replaced
12:8b5d60ce1e94 13:0b0e9fce0b58
   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 		{