TCPnet: switching between PPP and Ethernet at runtime

Hello,

I have a couple questions regarding TCPnet that I would appreciate some assistance on:

1) I am using raw TCP/IP sockets and at runtime I need to be able to dictate which communication platform the sockets open on (Ethernet vs PPP). Is it possible to do this?

2) For some reason I am not getting any DNS servers assigned through my PPP connection. My PPP device is a GPRS modem. Is there a setting that I need to enable to make this happen?

I have been reading the product manual and cannot seem to find the answers in there -- however, if they are there and I just missed them, please feel free to point me to the correct sections. Any insight would be greatly appreciated!

Thank you,
Eric

Parents
  • Hi Eric,

    re point 2, I suspect that configuration of the primary and secondary DNS is not supported by the PPP stack. I have written to Keil for confirmation on this point.

    I found if I manually set up the DNS my application works, but if left at some default it would fail, not a truly acid test, but seems pretty conclusive. Scanned all the help could find nothing on the subject.

    I let you know when I get some feedback.

    regards
    Darren

Reply
  • Hi Eric,

    re point 2, I suspect that configuration of the primary and secondary DNS is not supported by the PPP stack. I have written to Keil for confirmation on this point.

    I found if I manually set up the DNS my application works, but if left at some default it would fail, not a truly acid test, but seems pretty conclusive. Scanned all the help could find nothing on the subject.

    I let you know when I get some feedback.

    regards
    Darren

Children
More questions in this forum