Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Network route in Symbian
QtWS25 Last Chance

Network route in Symbian

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 2.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mikchel
    wrote on last edited by
    #1

    Hello.
    In my application i need to use WLAN as a server and GPRS conection as a client. I opened 2 network sessions with different IAP - WLAN and GPRS.
    Server side via WLAN works fine - QTcpServer accepts connection from my WiFi device but i can't connect via GPRS client (QTcpSocket) to some remote server. I get socket timeout error.
    WLAN interface has IP:169.254.58.46
    GPRS interface has IP: 172.28.163.149
    Server has IP: 172.29.36.44

    It seems that client doesn't find route path to remote server as they in different subnets.
    How can i set default route address to Symbian route table or may be there is some other solution for my problem?

    WBR,

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Hi,

      I am not an expert regarding this issue but this article might be useful: http://wiki.forum.nokia.com/index.php/TSS000265_-_Specifying_routing_settings_to_a_specific_socket_connection

      Please note that it is written using the native Symbian C++ framework which can be successfully combined with Qt source code.

      Best regards,
      Leon

      http://anavi.org/

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mikchel
        wrote on last edited by
        #3

        Hi, Leon.
        Thank you for your answer.
        I think this article is useful for me. It's a strange thing - i searched in forum for adding gateway to network but didn't find that article.
        I solve my problem some other way: i use only one APN in each moment of time and start/stop other APN when it needs to send anything.
        It may be worse solution so i consider to use your advice.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leon.anavi
          wrote on last edited by
          #4

          I am glad that the link is useful :)

          Please also read this article as it shows good practices how to keep Symbian C++ and Qt code separated: http://wiki.forum.nokia.com/index.php/CS001642_-_Using_environment_macros_to_differentiate_platforms

          http://anavi.org/

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved