×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    70

    Question [B]How to Detect Socket connection is offline[/B]

    Hi, im trying to catch when an RSocket write method fail because network problems or otherwise, but my app keeps sending data over a connection i know is no longer valid, some body tellme that without reciving data i could check if my app is still connected via RSocket::RemoteName(IAddr) but dont know if this call is also asynchronous so i have to check it via RunL cycle, i use this call just to , if it is, i face a problem i need to check this every time before i send data, and my app is never going to recive something from outside, it only writes data. if you know how can i achive this, thanks a lot

  2. #2
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    70

    Cool Re: How to Detect Socket connection is offline

    ok, i've managed to know my connection is drop just by requesting the remoteName, but now i face the fact that since my connection active object is on the same scheduler my app runs, my app freezes until it can reconnect, and everithing work as usual until my communication get cut again. any ideas?

    Changing priorities as some sugested dont work, i think it is going to be something related with CTimer, anyway if you know something, write please
    Last edited by xchewy; 2008-05-21 at 00:20. Reason: revision

Similar Threads

  1. Socket problem
    By defragger in forum Symbian
    Replies: 0
    Last Post: 2005-08-25, 08:16
  2. PC Suite not detect 6600 with Bluetooth connection
    By spinacle in forum Bluetooth Technology
    Replies: 29
    Last Post: 2004-03-14, 23:24
  3. opening a socket connection
    By bhatti81 in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2003-07-16, 10:08
  4. TCP/IP socket connection problem
    By ArunP in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2002-09-19, 10:09
  5. PC Sync with 6310i and Socket BT Connection Kit
    By sami_laiho in forum Bluetooth Technology
    Replies: 0
    Last Post: 2002-09-17, 05:25

Posting Permissions

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