Nevermind, I figured it out.  There is actually a little blurb in the palm
os companion volume 2 that talks about opening a configuration.  The example
deals specifically with wireless connections.

So, if anyone is wondering how to do it, you can open NetLib with the
default wireless configuration.  This will show the same modal dialog that
you see when connecting to the browser or the mail application (at least on
the Tungsten C).

I could not figure out a way to do this using POL::CNetLib, so I had to
derive a class from it and provide a different version of Open() that takes
a configuration name and opens the library that way.

Brad

"Brad Figler" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> All,
>
> I am experimenting with sockets and such for the first time (on palmos).
I
> have created a client socket and connected to my own PC via "localhost"
and
> the emulator.  I was able to send a text string from the emulator and
print
> it out in a DOS console (POL made this extremely easy...a little plug for
> POL!).  However, I do not understand how to obtain an IP address on the
> physical device.  The device is a Tungsten C.
>
> I obviously need to connect to our wireless network, obtain an IP address,
> and then attempt to connect my socket.  Can someone point me at some
> documentation on how to do the first two things listed (or explain it to
> me)?  It would be greatly appreciated.
>
> Thanks,
>
>
> Brad
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to