Don't try to use socket streams with UDP sockets, it just isn't going to work.
Either use one of the freely available networking modules available (BMax includes one, well, two really as GNet is a high level mod based on the enet mod), or use raw sockets.
It really depends on what you're trying to do.
Either use one of the freely available networking modules available (BMax includes one, well, two really as GNet is a high level mod based on the enet mod), or use raw sockets.
It really depends on what you're trying to do.