Re: Internet connection through PC



Thanks Paul!

I'll try this out.
GPRS is not a good solution for debugging due to the inherent data
volume/cost.

Best regards

Erich



"Paul G. Tobey [eMVP]" wrote:

> You can craft your code to force your UDP traffic through a connection other
> than AS. You need to bind your socket to the IP of your GPRS adapter.
> That's the only work-around that I can think of, off hand. I've never done
> it with GPRS, but it works fine to select between two network adapters.
>
> I suppose that you could debug over GPRS. It's only a network connection,
> after all. You'd want to use the Manual Server connection, rather than
> Active Sync (configured through the Configure Platform Manager menu item in
> eVC).
>
> Paul T.
>
> "Ike" <Ike@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:072CC2C7-A304-49C4-B271-5EB02A83808F@xxxxxxxxxxxxxxxx
> > Paul,
> >
> > I OF COURSE DON'T USE AS for the operational system. But I need it for
> > eVC4
> > debug purposes.
> >
> > The operational system, however, uses UDP via a CE socket and through the
> > target's built-in GPRS wireless modem.
> >
> > Un-cradled, the target UDP connection works fine!
> >
> > With the PDA cradled, the app's socket connection - using UDP - stops
> > working.
> >
> > I think I now understand why! When cradled, all socket traffic will be
> > re-routed through AS rather through the internal modem and data goes
> > crap...
> > The target doesn't have a wireless LAN. AS HAS to use the USB/cradle...
> >
> > I'd therefore appreciate very much if you could simply tell me either:
> >
> > - how to reconfigure AS that the eVC4 debug messages will go through the
> > AS/cradle/USB/PC link, but the UDP packages from the socket connection of
> > the
> > application will continue to go through the GPRS/Internet modem
> > connection.
> > This would be completely sufficient.
> >
> > - or if there is a trick to route the UDP form the ap/socket through the
> > PC
> > while keeping the eVC4 debug capability alive.
> >
> > Sorry - again - for my - probably slightly incomprehensible - english.
> > Hope
> > you got the point this time.
> >
> > Regards
> >
> > Ike
> >
> >
> > BTW: "test" just meant "debug!"
> >
> >
> > "Paul G. Tobey [eMVP]" wrote:
> >
> >> Huh? You need it "to test"? You should not be architecting your
> >> solution
> >> for any device on the assumption that UDP pass-through will be functional
> >> with any version of AS. As far as testing, you should not be assuming
> >> that
> >> AS is a substitute for *any* other type of network connection. It
> >> doesn't
> >> work the same and testing a network application over AS is *not* proving
> >> anything about real network functionality in your application.
> >>
> >> Paul T.
> >>
> >> "Ike" <Ike@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> >> news:F10C7E5A-849B-4B77-891A-556CBA1C7FE8@xxxxxxxxxxxxxxxx
> >> > Alex,
> >> >
> >> > will there be support for UDP passthrough with newer versions of
> >> > activesync?
> >> > I need this badly to test .
> >> >
> >> > Regards
> >> > Ike
> >> >
> >> >
> >> >
> >> >
> >> > "Alex Feinman [MVP]" wrote:
> >> >
> >> >> Yes, with two caveats:
> >> >> 1) In activesync settings make sure it set to connect passthrough
> >> >> connection
> >> >> to internet.
> >> >> 2) AS passtrough supports TCP only. No UDP
> >> >>
> >> >> --
> >> >> Alex Feinman
> >> >> ---
> >> >> Visit http://www.opennetcf.org
> >> >> "Rob S" <Rob S@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> >> >> news:096B71CB-674B-4F05-B7DF-BC47F7E9BA6C@xxxxxxxxxxxxxxxx
> >> >> >
> >> >> > Hi there, hope somebody out there can give me some pointers.
> >> >> >
> >> >> > I'm writing a smart device application in C#...
> >> >> >
> >> >> > Basically, my application transfers information via sockets to our
> >> >> > server,
> >> >> > the problem i have is GPRS.
> >> >> >
> >> >> > I can get the application to dial the GPRS but everything fails when
> >> >> > the
> >> >> > PDA
> >> >> > is in the cradle.
> >> >> > I understand it then uses PC connection and active sync, however my
> >> >> > application still needs to access the internet.
> >> >> >
> >> >> > Is there a way for me to use their internet connection on their PC
> >> >> > to
> >> >> > still
> >> >> > send data over sockets? I presume this would be a configuration
> >> >> > thing
> >> >> > on
> >> >> > the
> >> >> > Pocket PC?
> >> >> >
> >> >> > Any assitance on this would be much appreciated.
> >> >> >
> >> >> > Many Thanks,
> >> >> > Rob
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>
.



Relevant Pages

  • Re: How to Transfer the data from Device to Server over GPRS or G
    ... I have GPRS connection in device and setup the GPRS with provider APN and ... Sicne you mentioned "IP Based SQL Server over the Web". ... office and dial from PDA using GPRS connection. ... I do not know how to do the dial-up over the GPRS? ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Incoming connection to webserver via GPRS RAS connection
    ... unsoliceted requests from the Internet using a GPRS connection only. ... I connected the device to my local LAN to verify that the device web server ...
    (microsoft.public.windowsce.embedded)
  • Spb GPRS Monitor 2.4.2
    ... Spb GPRS Monitor is a complete solution for measuring the amounts of ... calculating network usage costs. ... Taskbar icon that shows GPRS connection speed, ... Detailed connection usage and cost charts ...
    (comp.software.shareware.announce)
  • Re: O2 XDA mini - switching connections
    ... The confusion being knowing when I am connected to the internet via ... indicating GPRS is available. ... connected, and the connection could be idle, as mine is right now. ... phone maintains a GPRS connection always, even when I use Wi-Fi, since ...
    (microsoft.public.pocketpc)
  • Re: O2 XDA mini - switching connections
    ... I setup my wifi okay no problem but I have a feeling that when I connected I ... was also set to using GPRS - obviously I do not want to do that too often ... which will allow you to add Disconnect to the connection bubble. ... really do not want unexpected charges. ...
    (microsoft.public.pocketpc)