Re: TCP Sockets over Wireless

Tech-Archive recommends: Fix windows errors by optimizing your registry



What do you have the device address and subnet set to?

Assuming you are connecting the wifi network correctly, you should be
able to see traffic generated by the device with a packet sniffer (like
ethereal). This assumes that you have things set up right on the
network to sniff and you're using a wifi card that can sniff. At
minimum you should be able to see an ARP message from the device to the
world, looking for the MAC address of 192.168.0.4. If you can see
this, you're device is correctly connected to the wifi network. Next
check for a TCP SYN packet going from the device to the desktop;
running the sniffer on 192.168.0.4 is probably your best bet as you'll
see everything that node can see coming from the mobile device.

stu =)

JonF wrote:
I am working with C# compact framework and have written some code which
allows communication over the socket layer, however I have encountered
the strange problem that I can only communicate over a physical dock
connection not WiFi. At the moment I have set the IP to be 192.168.0.4
which is the address my laptop running the server which the PocketPC is
trying to connect to.

I'm using the following code:

private string svraddress;
private int svrport;
private Socket connection;

IPEndPoint ip = new IPEndPoint(IPAddress.Parse(svraddress), svrport);
connection = new Socket(AddressFamily.InterNetwork, SocketType.Stream,
ProtocolType.Tcp);
connection.Connect(ip);
connection.Send(data);

I'm guessing that this may be some sort of DNS problem with resolving
the local network IP?

Any ideas/pointers appreciated...

.



Relevant Pages

  • Tungsten C and wifi problem
    ... I'm having a strange problem with my Tungsten C when trying to connect to a wifi network. ... the palm shows me the surrounding available connections whith their strength. ... Then afterwards, my connection is always shown with a zero strength signal, until I remove this connection's settings from the palm memory. ...
    (comp.sys.palmtops.pilot)
  • Re: Problem with WiFi Connection for O2 Atom (WM5)
    ... attempted to connect to WiFi network, the connection will not started right ... I have to repeatedly turn on and off WiFi a couple of time before I ... Please see the Pocket PC Mag Expert Blog at ... In trying to configure WiFi network card on my O2 Atom, ...
    (microsoft.public.pocketpc)
  • Re: TCP Sockets over Wireless
    ... Are you happy that the wireless connection is actually functioning, ... If you are using a wireless access point or router, ... private string svraddress; ...
    (microsoft.public.dotnet.framework.compactframework)
  • 10.0 Wierdness #3 - Networking Support
    ... boot SuSE 10 in the morning, I expect to connect to my home wifi network. ... When I see the KInternet tool it appears to be connected. ... or tracert to any external domains. ... Once I open KInternet / Wireless Connection I see my WiFi network as ...
    (alt.os.linux.suse)
  • Wifi Connection Troubles with Windows Mobile 5.0
    ... My company recently got me a Qtek 9100 pocket pc. ... but I still haven't managed to connect to a wifi network. ... It basically hops back and forth from one connection to ... I've enabled the wireless connection under the connection manager. ...
    (microsoft.public.pocketpc)