equal
deleted
inserted
replaced
1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2000-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
464 sdpSecurity.SetDenied(EFalse); |
464 sdpSecurity.SetDenied(EFalse); |
465 |
465 |
466 addr.SetSecurity(sdpSecurity); |
466 addr.SetSecurity(sdpSecurity); |
467 |
467 |
468 User::LeaveIfError(iListener.Bind(addr)); |
468 User::LeaveIfError(iListener.Bind(addr)); |
|
469 TPckgBuf<TBool> noSecurityRequired; |
|
470 noSecurityRequired() = ETrue; |
|
471 |
|
472 User::LeaveIfError(iListener.SetOpt(KBTSetNoSecurityRequired, KSolBtSAPBase, noSecurityRequired)); |
469 User::LeaveIfError(iListener.Listen(iQueSize)); |
473 User::LeaveIfError(iListener.Listen(iQueSize)); |
470 } |
474 } |
471 |
475 |
472 void CSdpListener::TryRestartL() |
476 void CSdpListener::TryRestartL() |
473 { |
477 { |