×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jun 2003
    Posts
    83

    Socket - timer out?

    Hi

    In the socket example, if the app cant connect to the server, it should exit after the predefined time limit. But when I try to debug the app TimerExpired() is never called, why?
    How do you get the app to exit if it can't connect after the set time limit?

    Ta,
    Ash

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143
    have you set your timer on in the first place ?

    yucca

  3. #3
    Regular Contributor
    Join Date
    Mar 2004
    Location
    India
    Posts
    67

    Succesfull socket Connection But.....

    Hi Yucca,
    Please guide my way..................
    I can suceesfully coneect to theremote server and download the xml file, I have used sdk example socket connection...make some changes and used that. Now problem is that when SocketReader class return to SocketEngine after dowloading the file...then before calling disconnect function...i had used a ..AlertWin...like this............."CEikonEnv::Static ()->AlertWin (_L("File Downloaded")) ;" and called Disconnect function .......but if i remove that AlertWin some how my code stuck into Disconnect only......I dont know why this is happening. Please help me.
    Thanks

    -Alok

Posting Permissions

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