Results 1 to 4 of 4

Thread: send/receive msg/data

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2008
    Posts
    97

    send/receive msg/data

    hi i try do creat a app to send/receive data between pc and pocket i have tested many examples using the TcpClient Class but in every one when the pocket is in listen mode they simple block the app and wait for any data to receive. he can receive the data but the app block and i can´t use the app for nothing
    any one have the same problem?
    there is any easy way like winsock in vb6 that can send and receive data without this problem?
    thanks a lot for your help

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: send/receive msg/data

    I didn't think you could listen on the pocket pc end of such a connection. I posted a thread with some classes for communicating via TCP a couple years back, but those classes assumed that the desktop was listening, and the connection request always came from the portable. That was back in 2003, though, and life may be different now.
    My usual boring signature: Nothing

  3. #3
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: send/receive msg/data

    Hi,
    put the TCP stuff in a separate thread?
    Or use non-blocking, and 'peek' to see if there is data, in a timely fashion?

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Feb 2008
    Posts
    97

    Re: send/receive msg/data

    hi,
    how can i do that? i dont have any ideia how to
    "use non-blocking, and 'peek' to see if there is data, in a timely fashion?"
    i have tryed in other thread but the result is the same the app always block and wait for other msg
    there is any control to do this? without using sockets?
    thanks a lot for your help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width