Results 1 to 6 of 6

Thread: udpClient (sockets) problem.

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2002
    Posts
    26

    udpClient (sockets) problem.

    Is it me or is the sockets implementation useless in .Net?

    When using VB6 I used the winsock control to talk to a server (UDP)

    When connecting to the server if the wrong port was used to program would continue but no reply would be sent. Great.. no problem.

    With .Net no error is recieved when the wrong port is used and therefore when the recieve command is used (which causes the system to wait for a reply) the program stops. But seeing as a reply is never received then it never starts again.

    Is the some kind of timeout that can be set for the udpclient?

    Thanks Imogen
    Last edited by Imogen; Aug 30th, 2002 at 01:56 PM.

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