Visual assist software

Just want to share a tip to all visual c++ 6.0 / 7.0 users:

Try www.visualassist.com - it is a real great plugin wich improves the
already great class-browser and code-completion feature of vc even more.

Im using it - and even will buy it after trial period is over…

Cheers, andre

P.s. had a look at kdevelop recently (via run-from cd linux
www.knoppix.org ) and - it is on a good way to get as great as vc !

Could someone point me to a tutorial / internet resource explaining some
basic
Network programming ?
I want to store highscores to my server. I would prefer to submit the
highscore-data out of my game into a php script wich then stores the
score-data (name, score, date, game-mode and so on) into a
mysql-database.

But - i have no idea how to start. I know how to write php code to
handle data received via post from forms and store these into my
database, but i do not understand how to realize this with sdl_net. And
i would need some sort of basic encryption / crc checking (already done
crc32 for my game.exe file and highscore.dat to avoid manipulation) to
avoid to easy faking of highscore entries.

To be true, i have no knowledge at all about “sockets” and such things.
Could one help me out ?

Best regards, andre krause

Your going to need to learn a little bit about HTTP if you haven’t already. The HTTP protocol is pretty easy and you should be able to get up and running in little time. Look for some tutorials on it. Basically, HTTP is a text based protocol like telnet is. All commands are human readble. If you know what commands to type it is possible to connect to a web server using telnet. All you have to do is open a socket, send text commands, and listen for text commands.

You could use XML-RPC, but it would just be easier to use your own format. Data can be sent to the server in a handful of forms over HTTP (GET, POST, etc). You’ll be able to send more data using POST than with GET. Your PHP script will be able to parse the GET/POST data as normal and then it is up to the script to undo any encryption you applied to the data.

~Rob> ----- Original Message -----

From: Andre Krause [mailto:post@andre-krause.net]
Sent: Tuesday, August 27, 2002 3:35 PM
To: sdl at libsdl.org
Subject: [SDL] Storing scores to a server - networkprogramming howto ?

Could someone point me to a tutorial / internet resource explaining some
basic
Network programming ?
I want to store highscores to my server. I would prefer to submit the
highscore-data out of my game into a php script wich then stores the
score-data (name, score, date, game-mode and so on) into a
mysql-database.

But - i have no idea how to start. I know how to write php code to
handle data received via post from forms and store these into my
database, but i do not understand how to realize this with sdl_net. And
i would need some sort of basic encryption / crc checking (already done
crc32 for my game.exe file and highscore.dat to avoid manipulation) to
avoid to easy faking of highscore entries.

To be true, i have no knowledge at all about “sockets” and such things.
Could one help me out ?

Best regards, andre krause


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Also, check out libcurl:

http://curl.haxx.se/

Best wishes,

-Loren

Your going to need to learn a little bit about HTTP if you haven’t
already. The HTTP protocol is pretty easy and you should be able
to get up and running in little time. Look for some tutorials on
it. Basically, HTTP is a text based protocol like telnet is.
All commands are human readble. If you know what commands to type
it is possible to connect to a web server using telnet. All you
have to do is open a socket, send text commands, and listen for
text commands.

You could use XML-RPC, but it would just be easier to use your
own format. Data can be sent to the server in a handful of formsover
HTTP (GET, POST, etc). You’ll be able to send more data using POST than
with GET. Your PHP script will be able to parse the GET/POST data as
normal and then it is up to the script to undo any encryption you
applied to the data.On Tue, 2002-08-27 at 16:07, Robert Wohleb wrote:

~Rob

Andre Krause:

Could someone point me to a tutorial / internet resource explaining some
basic Network programming ?

http://www.ecst.csuchico.edu/~beej/guide/net/

Regards,
Francesco Orsenigo, Xarvh Project
http://freeweb.lombardiacom.it/xarvh/

Ok thanks.
So i really should dive into sockets, then i can send post-data via http
instrucktions to my php script. Is this right so far ? Couls one send /
give a link to a short example program?

Is sdl_net fine or should i better use http://www.hawksoft.com/hawknl/ ?

Regards, andre
Here are some screenshots.
http://www.videofiles.de/album/index.php?album=tetris
Yes… Only just another tetris-clone…

-----Urspr?ngliche Nachricht-----
Francesco OrsenigoVon: sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org] Im Auftrag von
Gesendet: Mittwoch, 28. August 2002 10:37
An: sdl at libsdl.org
Betreff: Re: [SDL] Storing scores to a server - networkprogramming howto
?

Andre Krause:

Could someone point me to a tutorial / internet resource explaining
some basic Network programming ?

http://www.ecst.csuchico.edu/~beej/guide/net/

Regards,
Francesco Orsenigo, Xarvh Project http://freeweb.lombardiacom.it/xarvh/


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

I might not have mentioned it, but libcurl is an HTTP client library, so
it should handle all the socket stuff for you… plus it supports SSL
for HTTPS connections.

http://curl.haxx.se/

Hope that helps,

-LorenOn Wed, 2002-08-28 at 02:35, Andre Krause wrote:

Ok thanks.
So i really should dive into sockets, then i can send post-data via http
instrucktions to my php script. Is this right so far ? Couls one send /
give a link to a short example program?

Is sdl_net fine or should i better use http://www.hawksoft.com/hawknl/ ?

Regards, andre
Here are some screenshots.
http://www.videofiles.de/album/index.php?album=tetris
Yes… Only just another tetris-clone…

-----Urspr?ngliche Nachricht-----
Von: sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org] Im Auftrag von
Francesco Orsenigo
Gesendet: Mittwoch, 28. August 2002 10:37
An: sdl at libsdl.org
Betreff: Re: [SDL] Storing scores to a server - networkprogramming howto
?

Andre Krause:

Could someone point me to a tutorial / internet resource explaining
some basic Network programming ?

http://www.ecst.csuchico.edu/~beej/guide/net/

Regards,
Francesco Orsenigo, Xarvh Project http://freeweb.lombardiacom.it/xarvh/


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Oh yes ! Thats exactly what i was searching for! You have saved me from
coding directly using sockets. Thanks :slight_smile:

-----Urspr?ngliche Nachricht-----
Loren OsbornVon: sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org] Im Auftrag von
Gesendet: Mittwoch, 28. August 2002 06:02
An: sdl at libsdl.org
Betreff: RE: [SDL] Storing scores to a server - networkprogramming howto
?

Also, check out libcurl:

http://curl.haxx.se/

Best wishes,

-Loren

On Tue, 2002-08-27 at 16:07, Robert Wohleb wrote:

Your going to need to learn a little bit about HTTP if you haven’t
already. The HTTP protocol is pretty easy and you should be able to
get up and running in little time. Look for some tutorials on it.
Basically, HTTP is a text based protocol like telnet is. All commands
are human readble. If you know what commands to type it is possible to

connect to a web server using telnet. All you have to do is open a
socket, send text commands, and listen for text commands.

You could use XML-RPC, but it would just be easier to use your own
format. Data can be sent to the server in a handful of formsover
HTTP (GET, POST, etc). You’ll be able to send more data using POST than
with GET. Your PHP script will be able to parse the GET/POST data as
normal and then it is up to the script to undo any encryption you
applied to the data.

~Rob


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl