Network

Previous topic - Next topic

Kitty Hello

New update has fully featured support for networking and sockets. Samples to follow.

MrTAToad

#1
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)

Moru

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!"

Hatonastick

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.

Hemlos

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.
Bing ChatGpt is pretty smart :O

Hatonastick

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. :)

Hemlos

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.
Bing ChatGpt is pretty smart :O