datacommsserver/esockserver/inc/ES_SOCK.H
changeset 22 592244873960
parent 0 dfb7c4ff071f
--- a/datacommsserver/esockserver/inc/ES_SOCK.H	Tue Feb 02 00:53:00 2010 +0200
+++ b/datacommsserver/esockserver/inc/ES_SOCK.H	Fri Apr 16 16:15:03 2010 +0300
@@ -657,6 +657,8 @@
 */ 
 const TInt KErrProtocolNotReady = -17214;
 
+// -17215 used for non published error. Do not use here.
+
 
 /** Used in RSocket read and write calls to pass the length of data read and written.
 @publishedAll
@@ -705,8 +707,8 @@
 	{
 public:
     IMPORT_C RSocketServ();
-	IMPORT_C TInt Connect(TUint aMessageSlots=KESockDefaultMessageSlots);
-	IMPORT_C TInt Connect(const TSessionPref& aPref, TUint aMessageSlots=KESockDefaultMessageSlots);
+	IMPORT_C TInt Connect(TUint aMessageSlots = (TUint) -1);
+	IMPORT_C TInt Connect(const TSessionPref& aPref, TUint aMessageSlots = (TUint) -1);
 	IMPORT_C TVersion Version() const;
 	IMPORT_C TInt NumProtocols(TUint& aCount);
 	IMPORT_C TInt GetProtocolInfo(TUint anIndex,TProtocolDesc& aProtocol);