equal
deleted
inserted
replaced
655 @publishedAll |
655 @publishedAll |
656 @released |
656 @released |
657 */ |
657 */ |
658 const TInt KErrProtocolNotReady = -17214; |
658 const TInt KErrProtocolNotReady = -17214; |
659 |
659 |
|
660 // -17215 used for non published error. Do not use here. |
|
661 |
660 |
662 |
661 /** Used in RSocket read and write calls to pass the length of data read and written. |
663 /** Used in RSocket read and write calls to pass the length of data read and written. |
662 @publishedAll |
664 @publishedAll |
663 @released */ |
665 @released */ |
664 typedef TPckgBuf<TInt> TSockXfrLength; |
666 typedef TPckgBuf<TInt> TSockXfrLength; |
703 @publishedAll |
705 @publishedAll |
704 @released */ |
706 @released */ |
705 { |
707 { |
706 public: |
708 public: |
707 IMPORT_C RSocketServ(); |
709 IMPORT_C RSocketServ(); |
708 IMPORT_C TInt Connect(TUint aMessageSlots=KESockDefaultMessageSlots); |
710 IMPORT_C TInt Connect(TUint aMessageSlots = (TUint) -1); |
709 IMPORT_C TInt Connect(const TSessionPref& aPref, TUint aMessageSlots=KESockDefaultMessageSlots); |
711 IMPORT_C TInt Connect(const TSessionPref& aPref, TUint aMessageSlots = (TUint) -1); |
710 IMPORT_C TVersion Version() const; |
712 IMPORT_C TVersion Version() const; |
711 IMPORT_C TInt NumProtocols(TUint& aCount); |
713 IMPORT_C TInt NumProtocols(TUint& aCount); |
712 IMPORT_C TInt GetProtocolInfo(TUint anIndex,TProtocolDesc& aProtocol); |
714 IMPORT_C TInt GetProtocolInfo(TUint anIndex,TProtocolDesc& aProtocol); |
713 IMPORT_C TInt FindProtocol(const TProtocolName& aName,TProtocolDesc& aProtocol); |
715 IMPORT_C TInt FindProtocol(const TProtocolName& aName,TProtocolDesc& aProtocol); |
714 IMPORT_C void StartProtocol(TUint anAddrFamily,TUint aSockType,TUint aProtocol,TRequestStatus& aStatus); |
716 IMPORT_C void StartProtocol(TUint anAddrFamily,TUint aSockType,TUint aProtocol,TRequestStatus& aStatus); |