Higher Level Networking Options
BlitzMax Forums/BlitzMax Beginners Area/Higher Level Networking Options
| ||
Hi, What are my options in terms of Modules or Librarys for higher level network programming in max So basically something like RakNet or BlitzPlay but for max. I know Raknet can be made into a module, but it odesn't support Mac (which I need it too). I have seen BlitzNet Optica, but I am abit reluctant to buy and use it, since Ant is in a huff with BRL. Any recomendations? |
| ||
The optimal choice would be TNet, which is very similar to Blitzplay, just simpler and easier to use. That is in my own opinion, note that it might be biased. Also TNet_Basic has a up-to-date version for Mac. Try it out, it is free. To give you an example: TNet_Host() ' For those who want to make their own server. MainLoop TNet_Update() If KeyHit( Key_S ) Then TNet_SendUDP( 9, "Hello, I pressed the S key" ) If TNet_Receive( 9 ) Print "We got a message of type 9" print "Data of Message: "+TNetData Print "ID of Sender: "+TNetID Endif If KeyHit(Key_J) Join( HostIP$, HostPort ) ' Join a host! If TNet_ClientLeft() Then Print TNetData+" Left the Game!!" EndLoopIt takes care of all clients who joins and leaves and makes it simple to setup connections and send and receive data. |
| ||
Couldn't you just use eNet? From what I understand it's already implemented in BlitzMAX, although it may not be exposed... |
| ||
BNet / BNetEx by Vertex is a possibility ... Optica bases on this for example. |
| ||
BNET, TNET, GNET, ENET...any more [x]NET's out there? |
| ||
I'm currently developing iN[E]T Amadeus Pro. It'll be available soon for CA$H. It's gonna have lots of hip and trendy functions...and...stuff! It's gonna be brillyant! P.S. Has anyone got any networking code I can have? |
| ||
I know Raknet can be made into a module, but it odesn't support Mac (which I need it too). Since when does Raknet not support Mac? Cross platform RakNet runs on Windows, Linux, Macs, and consoles. [url]http://www.rakkarsoft.com/[/url] |