|
-
May 10th, 2006, 01:45 PM
#1
Thread Starter
Registered User
Pocket PC Socket Error
Hi, I am trying to send and receive messages via sockets from a Pocket PC to a server program and vice versa. Most of the time I try sending messages to the server, it gives me a very generic error. It only says 'System.Net.Sockets.TcpClient'. I've tried error trapping and never have gotten anything more decriptive than that. Anyone have any ideas why this error keeps occurring?
Thanks!
-
May 10th, 2006, 06:28 PM
#2
Re: Pocket PC Socket Error
That's a mighty useful error message there.
If you trap and ignore the error, does the program work? Can you isolate which line it is happening on? And if you can, can you post the lines around it?
My usual boring signature: Nothing
 
-
May 11th, 2006, 06:09 AM
#3
Thread Starter
Registered User
Re: Pocket PC Socket Error
I tracked the error by line number. It takes me to the line in my code that says:
VB Code:
Dim Stream As NetworkStream = TcpClient.GetStream()
I have tried ignoring the error, the program will work, but it doesn't send anything to the server.
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
|