Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Networking (DNS?) device problem

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-07-2007, 03:51 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default Networking (DNS?) device problem

Can anyone help with this problem

I am playing with networking using network.dll and running a server (written in B4PPC) on my laptop. My client is connecting so:-
Code:
   client.Connect(client.GetIP2("amglaptop"),50000)
This works fine running on my desktop and I can talk to the laptop. It also works fine on my device if it is connected to my desktop by Windows Mobile (ActiveSync). When disconnected I get the error "no such host is known". If I replace "client.GetIP2("amglaptop") with the actual IP address "195.168.0.1" it works fine when disconnected.

I guess this is probably a local DNS (or lack of it) problem but why can the desktop (running Vista) resolve the name but the PDA ( Axim X30 WM2003SE) cannot? Is it related to the fact that my partner's PC (XP Home) appears in the router devices with the correct name but my laptop (also XP Home) appears as "UNKNOWN"?

EDIT:- Forgot to mention that the network connection is WiFi

Last edited by agraham : 11-07-2007 at 04:03 PM.
Reply With Quote
  #2 (permalink)  
Old 11-07-2007, 06:13 PM
Junior Member
 
Join Date: Jun 2007
Location: South Africa
Posts: 42
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi agraham,
I battled for about 3 days to get my Ipaq to talk to my pc via wifi,
in the end it trunout to be that you must not be connected to USB at the time, if the USB is connected the Wifi comes on but the minute you try to connect it shut off.
Worked for me on HP ipaq and windowxpProfSP2, using a wifiAP wired to the PC
I hope this would help
Thanks
Friedrich
Reply With Quote
  #3 (permalink)  
Old 11-07-2007, 06:24 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Softselect View Post
I hope this would help
I'm afraid not. I can connect OK either on or off USB. The problem is that I can't get a name resoution without being connected to the PC and so have to use an actual IP address.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
wm5 device-path problem enonod Questions (Windows Mobile) 4 05-26-2008 04:28 PM
Problem with FileGet on Device BerndB Questions (Windows Mobile) 10 05-11-2008 08:51 AM
Optimized Compilation problem on the device bob Questions (Windows Mobile) 4 03-12-2008 01:05 PM
networking errors bGoody_iPAC_rx1950PPC Questions (Windows Mobile) 13 02-04-2008 02:44 PM
Version 6.0 Device optimized compilation problem HarleyM Bug Reports 0 12-28-2007 02:01 AM


All times are GMT. The time now is 05:45 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0