×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    7

    Symbian OS 7.0 SDK for Nokia 9500

    i'm using this sdk for 7 months, actually i begun my developing career in symbian using this one, i'm using c++, i struggled a lot here developing gui like image button,custom dialog, progress bar, audio recording, listbox, comnbox, ... manipulating them, also hv done too many file operations,...lots of things, but they require almost 4 months to grasp and implement, but when its comes to NETWORKING i only successful in UDP data send, NOT RECEIVE,...i'm not even getting successful in TCP Connection....no problem with the code, i didnot have any book on Symbian Networking, i used Nokia SDK help, recently i hv tried the concepts of Mobile Phone Programming and its Application to Wireless Networking of Springer series edited by Frank HP FitZek and Frank Reichert...same result with this SDK...can anyone tell what is the problem with this sdk?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Symbian OS 7.0 SDK for Nokia 9500

    there's nothing specially wrong with the SDKs.

    Basicallt there were some TCP/IP examples available on the S60 2nd ed SDKs, so maybe you could try code from them.

    yucca

  3. #3
    Registered User
    Join Date
    Apr 2007
    Posts
    7

    to mr.yucca

    i want to write a .app program that can send and recieve data in UDP, i knw i can manage them both using active objects, but to test first i tried message send first and i was successful, but testing if it receives data from a linux based client program i always get receiving error

    after doing necessary connection to socket server and other declarations in app ui header and source files i did the followings....


    //UDP client socket open

    User::LeaveIfError(err1=iSocket.Open(iSocketServ, KAfInet, KSockDatagram, KProtocolInetUdp));

    //socket open check
    if(err1 != KErrNone)
    {
    _LIT(title,"Information");
    _LIT(message,"Socket server error");
    CCknInfoDialog::RunDlgLD(title, message);
    }


    TInetAddr iSAddress,iOther;
    TRequestStatus iStatus;

    // setting up local address
    iSAddress.SetAddress(KInetAddrAny);
    iSAddress.SetPort(2345);

    //binding the socket
    TInt err2;
    err2=iSocket.Bind(iSAddress);
    if(err2 != KErrNone)
    {
    _LIT(title,"Information");
    _LIT(message,"bind error");
    CCknInfoDialog::RunDlgLD(title, message);
    }

    TBuf8<3> recBuf;
    recBuf.FillZ();

    // receiving from the destination

    iSocket.RecvFrom (recBuf,iOther,0,iStatus);
    User::WaitForRequest(iStatus);
    if(iStatus.Int() != KErrNone)
    {
    _LIT(title,"Information");
    _LIT(message,"receive Error");
    CCknInfoDialog::RunDlgLD(title, message);
    }

    ....after that necessary closer ...etc
    program hangs after RecvFrom ...

    can you help me, we are doing e-gov research in india, and my job is to take care if symbian can be part of it different e-gov based solutions, if i fail here in data transfer and receive, symbian will loss its recom. and i shall return back to my old domain linux,c

Similar Threads

  1. SERIES 60 SDK FOR SYMBIAN OS and UIQ 2.0 SDK for Symbian OS v7
    By ekoprasetio in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2010-08-13, 10:05
  2. symbian 7.0 Nokia SDK receive SMS problem
    By vallabh in forum Symbian Tools & SDKs
    Replies: 6
    Last Post: 2007-11-10, 11:42
  3. Symbian 7.0 SDK for Linux
    By trapperjohn in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2004-02-27, 09:50
  4. Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug?
    By kauppi in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2003-04-07, 09:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×