Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User foxsik's Avatar
    Join Date
    Nov 2009
    Posts
    16
    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.

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,667
    So can you sent data to the server ?, and how are you implementing the receiving call ?

  3. #3
    Registered User foxsik's Avatar
    Join Date
    Nov 2009
    Posts
    16
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved