🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Calling .CGIs from C / C++...

Started by
1 comment, last by bitbuster 23 years, 4 months ago
Hi guys ! What is the shortest way to get in contact with a given .cgi when programming in MS-Visual C / C++ !! It looks like my game "SunAge" is near completion now... I''m planning to make SunAge able to send multiplayer-match-results to an existing .cgi script on some server, but i don''t know how to do it, and even don''t want to dig into a bunch of MS-docs (buaaa)... Also I want to create some central administered virtual identy for each player (with rankings, medals, items, aso...), but for this I need to get in contact with some kind of internet server... please help, or just tell me where I can get fastest to the info i need... Nice greetings, Roman www.vertex4.com
- www.sunage-the-game.com - - www.vertex4.com - Sauk says, 'Loading is fun...'
Advertisement
just open a socket on the http port (80) and send a http-request for the cgi you wish to send data to...
need some knowledge about the http protocol, i think that if i was to do it, i would just do it the easy way and code my own listener for the server
Jonas Meyer Rasmussenmeyer@diku.dk
I -THINK- (im not certain) that you call it like this...

GET HTTP/1.1 /cgi-bin/script.cgi?param1=something¶m2=something else...

{edit}
that queer looking thing is supposed to be:
(ampersand)param2=something else...
{/edit}

but then again I could be mistaken.

--LordKaT

Edited by - LordKaT on February 6, 2001 10:31:43 AM

This topic is closed to new replies.

Advertisement