Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Mobile Development
  3. Mobile
  4. Socket Communication over WiFi not working in Windows Mobile

Socket Communication over WiFi not working in Windows Mobile

Scheduled Pinned Locked Moved Mobile
sysadmin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AmitDey
    wrote on last edited by
    #1

    I am trying to send some data using TCP via WiFi to a desktop PC. I am using a TCP Listener and socket in the PD I am using TCPClient in the windows mobile. When the Mobile is connected to a PC ( not necessarily the server ), the winmo is able to send the data. But when the mobile is connected to wifi, the same code fails. I am getting a "SocketException" But I am able to ping the server. What may be the reason

    V 1 Reply Last reply
    0
    • A AmitDey

      I am trying to send some data using TCP via WiFi to a desktop PC. I am using a TCP Listener and socket in the PD I am using TCPClient in the windows mobile. When the Mobile is connected to a PC ( not necessarily the server ), the winmo is able to send the data. But when the mobile is connected to wifi, the same code fails. I am getting a "SocketException" But I am able to ping the server. What may be the reason

      V Offline
      V Offline
      Vivek Vijayan
      wrote on last edited by
      #2

      probably some problem with handling the sockets.. i have created a device application which allows remote desktop control of a PC connected to PDA via WiFi... i too got a lot of socket exceptions :D You need to set all the properties of sockets like timeout and port number right to make it working... Even then, it showed socket exception after working for a certain time period.. make sure all your threads are running the way it should..

      This code was posted by me...

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups