Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2009

    [moved] Why emulator is exit while connecting to server.

    Hello all,

    I try to implement the socket programming which can send data to server. But when I send data to server, server can receive data but my emulator is closed immediately. I try to fix this for a day, I found that I happen because the code that attempt to connect to server like this:

    // Open the socket
    User::LeaveIfError(iSocket.Open(iSocketServ, KAfInet, KSockStream,KProtocolInetTcp));

    //Connect the socket (has problem)

    connectInetAddr.SetPort(2500); //TLS port


    Please suggest me why it happens and advice another solution to connect server for me

    Thanks a lot

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Tampere, Finland

    Re: Why emulator is exit while connecting to server.

    Make sure to run the emulator process and not your own application. See Running the emulator from Carbide.c++ to learn about the different way to run your application.

    Then do the proper debugging of the code, identify the problem and solve the root cause.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. XML onLoad with background http server problem
    By simonjuric in forum [Archived] Flash Lite on Nokia Devices
    Replies: 5
    Last Post: 2009-06-08, 16:47
  2. TCP server packet receiving problem
    By raj_rr7 in forum Symbian Networking & Messaging (Closed)
    Replies: 9
    Last Post: 2007-07-12, 12:24
  3. Socket : server gets data only when I exit client app
    By viku_006 in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2007-06-25, 12:26
  4. Connecting to Mobile from a remote server through GPRS connection
    By go4jas in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2006-11-09, 06:14
  5. N70 Reset bug
    By sebboB in forum General Development Questions
    Replies: 2
    Last Post: 2005-12-28, 23:09

Posting Permissions

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