Results 1 to 3 of 3

Thread: Pocket PC Socket Error

  1. #1

    Thread Starter
    Registered User
    Join Date
    Apr 2006
    Posts
    62

    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!

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

    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

  3. #3

    Thread Starter
    Registered User
    Join Date
    Apr 2006
    Posts
    62

    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:
    1. 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
  •  



Click Here to Expand Forum to Full Width