Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

WinInet connection with desktop

 
   Soft32 Home -> PDA -> Pocket PC Developer RSS
Next:  Getting internet through Samsung Omnia  
Author Message
Daniel Kim

External


Since: Nov 05, 2008
Posts: 34



(Msg. 1) Posted: Sun Oct 25, 2009 7:51 pm
Post subject: WinInet connection with desktop
Archived from groups: microsoft>public>pocketpc>developer (more info?)

Hi

I am trying to establish tcp connection with desktop from wm device, using
WinInet library.

I have setup a simple server at desktop side, and tried to connect from WM
5.0 emulator. The emulator is synced with ActiveSync via DMA connection. I
can access other internet from emulator with this setting.
Now, my proplem is, how can I connect to the server which is running in
desktop?
I googled and found some articles mentioning about PPP_PEER, but
HttpSendRequest API returns 12031 error, which is
ERROR_INTERNET_CONNECTION_RESET.

My client in device successfully connected to real server, which has real IP
and domain, so the client has no problem. I am not sure about the server in
desktop since I haven't developed it, but it is widely used tool so I guess
it is OK.
So my diagnosis is that the problem is within the connection. Either I don't
know how to connect to desktop from device, or the setting is wrong.
Coudl you please give me a little advice?

Thanks in advance.

With BR,
Daniel Kim
Back to top
Login to vote
Karthikeyan

External


Since: Oct 25, 2009
Posts: 1



(Msg. 2) Posted: Sun Oct 25, 2009 9:36 pm
Post subject: Re: WinInet connection with desktop [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Oct 26, 7:51 am, Daniel Kim <Daniel....DeleteThis@discussions.microsoft.com>
wrote:
> Hi
>
> I am trying to establish tcp connection with desktop from wm device, using
> WinInet library.
>
> I have setup a simple server at desktop side, and tried to connect from WM
> 5.0 emulator. The emulator is synced with ActiveSync via DMA connection. I
> can access other internet from emulator with this setting.
> Now, my proplem is, how can I connect to the server which is running in
> desktop?
> I googled and found some articles mentioning about PPP_PEER, but
> HttpSendRequest API returns 12031 error, which is
> ERROR_INTERNET_CONNECTION_RESET.
>
> My client in device successfully connected to real server, which has real IP
> and domain, so the client has no problem. I am not sure about the server in
> desktop since I haven't developed it, but it is widely used tool so I guess
> it is OK.
> So my diagnosis is that the problem is within the connection. Either I don't
> know how to connect to desktop from device, or the setting is wrong.
> Coudl you please give me a little advice?
>
> Thanks in advance.
>
> With BR,
> Daniel Kim


Hi ,
Just to make sure. try to access your server from Desktop IE.
On Device, there could be problem with proxy also. Check it!!

Regards,
Karthik
Back to top
Login to vote
Daniel Kim

External


Since: Nov 05, 2008
Posts: 34



(Msg. 3) Posted: Sun Oct 25, 2009 11:02 pm
Post subject: Re: WinInet connection with desktop [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Karthikeyan

Thank you for the tip.
I just tested and it is running.
I teleneted to localhost:80 and it responded.

Just for your information, the tool I am using in desktop is OMA DM SCTS 1.1.2
I am using it to test my DM client. Bit I can't figure out how to work it
yet..

Thanks anyway. If you have any idea, please let me know.

With BR,
Daniel Kim

"Karthikeyan" wrote:

> On Oct 26, 7:51 am, Daniel Kim <Daniel... DeleteThis @discussions.microsoft.com>
> wrote:
> > Hi
> >
> > I am trying to establish tcp connection with desktop from wm device, using
> > WinInet library.
> >
> > I have setup a simple server at desktop side, and tried to connect from WM
> > 5.0 emulator. The emulator is synced with ActiveSync via DMA connection. I
> > can access other internet from emulator with this setting.
> > Now, my proplem is, how can I connect to the server which is running in
> > desktop?
> > I googled and found some articles mentioning about PPP_PEER, but
> > HttpSendRequest API returns 12031 error, which is
> > ERROR_INTERNET_CONNECTION_RESET.
> >
> > My client in device successfully connected to real server, which has real IP
> > and domain, so the client has no problem. I am not sure about the server in
> > desktop since I haven't developed it, but it is widely used tool so I guess
> > it is OK.
> > So my diagnosis is that the problem is within the connection. Either I don't
> > know how to connect to desktop from device, or the setting is wrong.
> > Coudl you please give me a little advice?
> >
> > Thanks in advance.
> >
> > With BR,
> > Daniel Kim
>
>
> Hi ,
> Just to make sure. try to access your server from Desktop IE.
> On Device, there could be problem with proxy also. Check it!!
>
> Regards,
> Karthik
>
>
>
>
> .
>
Back to top
Login to vote
Display posts from previous:   
Related Topics:
WinInet and connection manager - All, How are the WinInet and connection manager components related? Since they both provide data connectivity to data....

Remote desktop connection - I'm looking for information on opening a remote desktop/terminal services connection in a web page on the pocket pc...

How can find the connection event between pocket pc e my d.. - Hi! I want make a simple application that show a messagebox when the pocket pc is connect to my desktop pc. How event ...

Desktop-Pass-Through internet connection / ActiveSync 4.5 .. - Hello all, I am experiencing the following problem with ActiveSync 4.5 / Windows Mobile 6.0: When the device (it's a...

WinInet - Hello, my code executes successful in cradle but via gprs not. I'm not sure what I'm doing wrong. please help... ver...

wininet and ppc2003 - Could anyone tell me if PPC2003 supports those wininet functions or not? Regards, Thomas
       Soft32 Home -> PDA -> Pocket PC Developer All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
  PDA


[ Contact us | Terms of Service/Privacy Policy ]