Re: Internet connection through PC
- From: "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
- Date: Wed, 11 May 2005 08:55:06 -0700
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
>> >>
>> >>
>>
>>
>>
.
- Follow-Ups:
- Re: Internet connection through PC
- From: Ike
- Re: Internet connection through PC
- References:
- Re: Internet connection through PC
- From: Ike
- Re: Internet connection through PC
- From: Paul G. Tobey [eMVP]
- Re: Internet connection through PC
- From: Ike
- Re: Internet connection through PC
- Prev by Date: Re: Application Focus
- Next by Date: Re: Problem receiving SMS messages.
- Previous by thread: Re: Internet connection through PC
- Next by thread: Re: Internet connection through PC
- Index(es):
Relevant Pages
|