Forwarding to palm-dev-forum in hopes that a broader audience will yield some answers. . . apologies to those on both lists for the double post.
----- Forwarded message from Chris Cutler <[EMAIL PROTECTED]> ----- Date: Mon, 19 Aug 2002 16:23:21 -0700 To: "Communication Developer Forum" <[EMAIL PROTECTED]> Subject: distinguishing serial from infrared in an app User-Agent: Mutt/1.3.11i From: Chris Cutler <[EMAIL PROTECTED]> Reply-To: "Communication Developer Forum" <[EMAIL PROTECTED]> Hi comm-dev-forum, My latest puzzle: my application performs some network communication using NetLib. When I run it on a device I (the user) can choose a configuration in the Connections section of the Preferences (for example: "Direct Serial" or "IR to a PC/Handheld"). I would like my app to be able to tell how it is connecting, that is, which of "Direct Serial" or "IR to a PC/Handheld" (or something else) is selected. (And ultimately, I'd like to be able to switch between them. . . but let's not run before we can walk.) I've tried using NetLibIFGet to get all available interfaces and looked at their names and service names with NetLibIFSettingsGet but the name is "ppp0" for both serial and IR and the service name is "Unix" (which matches the one in my network preferences section. Does anyone know anyway to tell what medium a network connection is using from within the palm app using that connection? Thanks, Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ ----- End forwarded message ----- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
