TCP and UDP => How do I push?

Blitz3D Forums/Blitz3D Programming/TCP and UDP => How do I push?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You can send bytes if you wish, but typically you'll put more into the buffer before sending the datagram. Example you might write out op code byte, and then write integers for x,y,z.. then do SendUDPMsg.

WriteByte(udp_wr,byte1)
; send all characters in the stream buffer.
SendUDPMsg udp_wr,IP,Inp_Port