GLBasic forum

Main forum => Announcements => Topic started by: Kitty Hello on 2009-Jan-23

Title: Network
Post by: Kitty Hello on 2009-Jan-23
New update has fully featured support for networking and sockets. Samples to follow.
Title: Re: Network
Post by: MrTAToad on 2009-Jan-25
I'm trying to use the socket commands (SOCK_UDPOPEN and SOCK_TCPLISTEN) but at the moment, they just return "8 Not enough storage is available to process this command" (XP) "12 Cannot allocate memory" (Mac)
Title: Re: Network
Post by: Moru on 2009-Jan-26
Quote from: Ocean on 2009-Jan-26
According to the help file SOCK_TCPACCEPT() should be called with two arguments, which makes the compiler error quite incomprehensible.  Obviously, the first argument is of type "DGNat" while the second argument is expected to be of type "DGNat&", which ip% in the help file clearly is not?

I will quote Gernot from memory, excuse me if I get it wrong :-)

"Compiler is always right!"
Title: Re: Network
Post by: Hatonastick on 2009-Jan-26
Woo hoo!  Time for me to rewrite/remake my 15 year old MUD server!  Or... maybe not. :)  MMO's are all the rage these days I guess, but MMO network design is quite a few steps up from MUDs ie. way beyond my paltry capabilities.  Still a pretty cool addition Gernot.  Can't wait to see what people do with it.  The more network games the merrier.
Title: Re: Network
Post by: Hemlos on 2009-Jan-26
muds were fun, good for learning to type fast too :)

i tried the sample tcp code, it looks like it is working really good..

Im going to make an attempt at a network game myself.
Title: Re: Network
Post by: Hatonastick on 2009-Jan-27
Heheheh, they were that.  While playing an MMO and not using voice-chat, those MUD typing skills still come in handy from time to time. :)

Looking forward to seeing what you come up with mate. :)
Title: Re: Network
Post by: Hemlos on 2009-Jan-29
Might not have much time in the near future...something new came up.

But i can help you with beta testing if you want, let me know.