|
-
Apr 28th, 2008, 02:10 PM
#1
Thread Starter
Lively Member
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
-
Apr 28th, 2008, 02:35 PM
#2
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
 
-
Apr 30th, 2008, 12:56 AM
#3
Frenzied Member
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
-
May 2nd, 2008, 01:26 PM
#4
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|