GLBasic forum

Main forum => GLBasic - en => Topic started by: shaftusmaximus on 2009-Aug-12

Title: TCP/IP in GLBasic
Post by: shaftusmaximus on 2009-Aug-12
I have need of TCP/IP networking in the program I'm developing.  I've looked at the NET commands with GLBasic.  I applaud the developers for making things as simple and "automatic" as possible.  However, I am developing my server in another language entirely (GLBasic will be used for the client), and it doesn't look like the "automatic game networking" thing (which again I applaud for its apparent simplicity) will automatically work for my server.  Correct me if I'm wrong, but it looks like it will only "automatically work" if the server is also GLBasic, using the same networking commands?

As such, my question is whether there are "primitive" GLBasic networking commands I can use to code this stuff up "by hand?"  Or perhaps it is possible to use inline C with this stuff?

Your comments appreciated - thanks.
Title: Re: TCP/IP in GLBasic
Post by: Kitty Hello on 2009-Aug-12
Ceck the SOCK_... commands. They are easy to use, too and provide everything you need.
Title: Re: TCP/IP in GLBasic
Post by: shaftusmaximus on 2009-Aug-12
Just saw the sock commands!  Thanks!