Re: LAN and GPRS

From: oaix (wenxb_at_hotmail.com)
Date: 04/27/04


Date: Tue, 27 Apr 2004 13:33:51 +0800

Thanks.

all i need to do is set up a TCP/IP connection with my app server. if LAN
is avaiable, i will use LAN, when LAN is unavauable, i'll connect via GPRS.

the problem is , once the GPRS is connected, it override the LAN setting .
so when i plug in the LAN cable, i have to play with the routing table and
make it works but all is by manually, how it could be done by script?

my question is the routing table is the only way to slove it? we can't make
it at socket level, right? as i know you can 't bind to a select IP for a
TCP/IP client.

Thank You very much
"Eugene Gershnik" <gershnik@hotmail.com> wrote in message
news:O7aNhOBLEHA.808@tk2msftngp13.phx.gbl...
> oaix wrote:
> > Hi,
> >
> > I have few questions , hope someone here can help.
> >
> > 1. i have a LAN adapter as well as a GPRS connection in my pc. i
> > want only use GPRS when the LAN is not avaiable, so the question is
> > , how to detect the LAN connection is on or off? (could be
> > different LAN and DHCP server)
> >
> > 2. i need to set up a TCP/IP connection to a remote server, so if
> > in both LAN and GPRS connected case, i want to choose the LAN IP
> > (instead of the GPRS IP)to make the TCP/IP connection, is there any
> > way to do it? the question is can you choose a IP to make the
> > connection?
> >
>
> In general all of the above can be accomplished through playing with
routing
> tables. You haven't told anything about what your applications is (i.e.
does
> it control any of the connections, is it a service or a simple user app,
is
> your GPRS connection a "dial-up" as far as OS is concerned etc.) so it is
> hard to give more detailed advice.
>
> --
> Eugene
>
>



Relevant Pages

  • Re: Event when the device is in the cradle
    ... Lan or via Internet. ... Image that I can access my webservice from the office ... Call webservice via gprs. ... Knowing that Gprs connection seems to remain always open (also using ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: LAN and GPRS
    ... > LAN and GPRS connected case, i want to choose the LAN IP (instead of the ... > GPRS IP)to make the TCP/IP connection, is there any way to do it? ...
    (microsoft.public.win32.programmer.networks)
  • Re: LAN and GPRS
    ... i have a LAN adapter as well as a GPRS connection in my pc. ... > to make the TCP/IP connection, ...
    (microsoft.public.win32.programmer.networks)
  • Re: 1 way remote desktop
    ... I am using the local ip of the desktop as seen on my lan ... laptop = 192.168.0.3 ... also remote access connection mgr is up. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Loss of Connectivity on Only One PC on a LAN
    ... When you ran the Network Setup Wizard, ... The original setup of the LAN was done entirely by the user of the other PC on that LAN in July. ... I use a LAN connection which consists of two PCs each connected to a Linksys BEFSR 41 Router. ...
    (microsoft.public.windowsxp.network_web)