UDP Stream does not exist?

Blitz3D Forums/Blitz3D Programming/UDP Stream does not exist?

Guy Fawkes(Posted 2012) [#1]
Hi, all. As you may or may not already know, I've been working on a server and client example. So I found this GODSEND of a UDP Library, called "NetBlitz3D". Can someone PLEASE tell me how I can make it so when I join the game, NOT as a host, it doesnt say "UDP Stream does not exist" ?

Here's the includes file:

nb.bb:



Example.bb:



Any help is greatly appreciated!

Thank You! :)


_PJ_(Posted 2012) [#2]
CAn't say for sure, but I imagine it's either


a: There's no instance created broadcasting/listening as a server

or

b: Connecting to a local (129.168...) or non-local IP or localhost(127.0.0.1) when other is preferred. I.e. The server is running on either on the same machine or within a local network (LAN), though the client is attempting to (or instead, should rather be) connect to an external IP or vice-versa.

c: Ports are not confiugured for listening etc.

It would seem that the error message is telling you that there is no UDP stream, or the expected stream handle is returning null, meaning the stream hasn't been opened or has not been received correctly. This should be your first point of call in where to look.