Multiplayer and UDP
BlitzMax Forums/BlitzMax Beginners Area/Multiplayer and UDP| 
 | ||
| How can i send data to a Host or Client? I dont find a command like recv oder sendto ? Can you help me plz Tim | 
| 
 | ||
| I think its covered in the Gamenet module. | 
| 
 | ||
| But i want make own Net Functionen Any way to use send to ? Tim | 
| 
 | ||
| If you are thinking about sockets like in C, it's there.. Take a look at mod\stdc.mod\stdc.bmx.. | 
| 
 | ||
| Any docu do use ? | 
| 
 | ||
| Or maybe here: http://www.blitzbasic.com/Community/posts.php?topic=50093 When it comes to documentation... Take a look here Small examples in C : http://pont.net/socket/ | 
| 
 | ||
| Or make it really simple, use TNet: 'Client TNet_SendUDP( 2, "Hi Host" ) - Where 2 is the message-type or channel 'Host If TNet_Receive( 2 ) 'Check this channel or msgtype Print "we got a message : "+ TNetData 'Print Data EndIf |