0

I'm writing a mobile application which needs to connect to a server using dial-up ( CSD ) connection. An additional request is that it needs to use TCP over PPP ( the server is using such combination ).

I know how to get the CSD connection using RAS API. But what I'm asking is how to get a TCP socket that "uses" this connection underneath.

Many thanks in advance.

altariste
  • 327
  • 2
  • 9

1 Answers1

0

Can you set up the connection in the settings | connection settings applet, and choose modem instead of gprs/cellular/bluetooth, then use connnection manager to initiate that connection. That will create a tcp/ip connection over csd, and you should just be able to open a socket in your code to the right ip address...

Matt
  • 2,984
  • 1
  • 24
  • 31