Malcolm Salvador
Malcolm Salvador

Reputation: 1566

VB.net Video Streaming Via UDP Port Error

Good Day to all

I am Currently developing a video chat application with Vb.NET I used the example as explained in this VIDEO. The application runs, but only up to the point I can see my own Webcam but I can't connect to the client unit.

I used try, and an exception came out saying ("The Operation is Not Allowed on Non Connected Sockets") I traced the problem to this code:

Publisher.Send(sendBytes, Bitmapz)

I tried the following

  1. Disabling my firewall
  2. selecting a different port

I set the port to the one in the video btw, (2013)

What should I do to get past the error?

Upvotes: 0

Views: 650

Answers (1)

bensonsearch
bensonsearch

Reputation: 312

OK i have actually seen this before, remove the blocking lines of code and try again. eg the listener.blocking = false, just remove it

Upvotes: 1

Related Questions