Discussion Board
-
CSocketsEngine::ResponseReceived
2009-11-21, 02:08
#1
Registered User
Hallo EvereyOne!
I am using 60 2nd edition SDK pack 3 standart socket Examples
I have next problem with this code.
void CSocketsEngine::ResponseReceived( const TDesC8& aBuffer )
{
TBuf8<3> buf123;
buf.Append('o');
if (aBuffer==buf123)
{
iConsole.PrintNotify(_L("Yes Its Work") );
}
iConsole.PrintNotify(aBuffer);
}
I wont!, when the server send response You are connected in my situation leather(o) My client write on display Yes its work.
But didnt.
sorry my eanglish not so good.
-
Re: CSocketsEngine::ResponseReceived
2009-11-23, 01:38
#2
Nokia Developer Expert
So can you sent data to the server ?, and how are you implementing the receiving call ?
-
Re: CSocketsEngine::ResponseReceived
2009-11-23, 08:18
#3
Registered User
Thx you for answer, I already have solution
хехе 2 дня усилиних поисков ! и вот оно !
Compare Rulezzz
Kod .
void CSocketsEngine::ResponseReceived( const TDesC8& aBuffer )
{
int a;
TBufC8<2>str;
str=(_L8("o"));
iConsole.PrintNotify(aBuffer);
a=aBuffer.Compare(str);
if ( a==2)
{
iConsole.PrintNotify(_L("3") );
}
Offtopic! THXXXXXXXXXXXXXXXXXXXXXXXXXx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules