Click to See Complete Forum and Search --> : send/receive msg/data
jason78944545
Apr 28th, 2008, 02:10 PM
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
Shaggy Hiker
Apr 28th, 2008, 02:35 PM
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.
petevick
Apr 30th, 2008, 12:56 AM
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
jason78944545
May 2nd, 2008, 01:26 PM
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 :)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.