network

Community Forums/Monkey Talk/network

Kanati(Posted 2011) [#1]
Does this have a general sockets / networking library? If not, will it and when?

Want to get this but I'm not doing so (bought every blitz compiler thus far) until I know it's got or going to have the features I want this time.


therevills(Posted 2011) [#2]
Xaron is in the process of creating a network module:

http://www.monkeycoder.co.nz/Community/posts.php?topic=725

http://code.google.com/p/mnet/

Also Indiepath has created Async HTTPGet for Flash and HTML5:

http://www.monkeycoder.co.nz/Community/posts.php?topic=137


Kanati(Posted 2011) [#3]
that sounds great... but I'm worried about third party libraries targeting only a subset of the platforms. I assume, of course, that the library maker has to be familiar with every platform in order to create something that will be able to be used on all platforms.

The same thing was seen to a lesser extend with libraries for blitzmax where they would be windows only because the programmer didn't know how to implement it on mac or linux. So this fantastic array of targets to compile to means even more fragmentation in the third party library area.

My concern is that, like graphics, and audio, networking should be a part of the core language modules and done by Mark (and/or whomever can make it happen on ALL targets). Hell... sell it as a 50 dollar addition to the language after the fact like powerbasic does. I'd buy it.

For the time being I'm going to hold off. I want to see where it goes from here. Make no mistakes about it though. I *really* want it to create some android apps. But I want extra sensor support and networking support first.

Overall it looks fantastic! Just a few shortcomings keeping me from pulling the trigger yet.


Xaron(Posted 2011) [#4]
I know all these platforms. Basic networking isn't a big deal the main blocker is HTML5 atm which is very limited when it comes to networking. Anything beyond simple HTTP stuff is not possible yet for all platforms.

Real socket based communication might be limited to Android, iPhone, XNA and GLFW.


Kanati(Posted 2011) [#5]
As long as it can be Windows / Mac / Linux / Android / iOS / XNA / Flash then I think HTML5 can wait... Even W3C says to hold off on embracing HTML5 yet.


Xaron(Posted 2011) [#6]
I've added iOS as a target.


BlitzSupport(Posted 2011) [#7]
Xaron, have you seen socket.io? Might be useful...


Xaron(Posted 2011) [#8]
Thanks James. Will add real socket communication later. First I wanted to make it easy. :)