Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

512 Posts in 129 Topics- by 74 Members - Latest Member: AAcrazyman

October 21, 2017, 03:20:08 AM
A Touch of WarGeneralServer BrowserServer side app?
Pages: [1]
Print
Author Topic: Server side app?  (Read 12410 times)
Lynx
Guest
« on: May 02, 2006, 09:11:21 PM »

What needs to be running on the server side to use this?
Logged
JimmyL
Administrator
Newbie
*****
Posts: 159


« Reply #1 on: May 02, 2006, 10:18:17 PM »

Hey Lynx,

I'm not sure which server you mean.  But basically, my webserver is running mysql which stores the ip address of a gameserver.  So a gameserver on the ds would just need to send a message to my webserver to say it has started hosting a game, and another message when it stops hosting, or can't accept clients anymore.  The ds game clients would just need to poll the webserver for all the active gameservers, and attempt to directly connect to one of the ip addresses.

Jimmy
Logged
Mr.X
Newbie
*
Posts: 3


« Reply #2 on: January 28, 2008, 04:43:57 PM »

Hello Jimmy Smiley
Have you any tutorials for an php sever or socket or something like that?
Thank you:)
Logged
JimmyL
Administrator
Newbie
*****
Posts: 159


« Reply #3 on: January 28, 2008, 07:50:24 PM »

No tutorials, but what are you be trying to do?
Logged
Mr.X
Newbie
*
Posts: 3


« Reply #4 on: January 29, 2008, 08:01:49 AM »

I try to send variables to a sever and an other cilent can recieve the variables. The DS code works but I have no socket/sever script.
Sorry for my english Wink
I come from germany Smiley
Logged
JimmyL
Administrator
Newbie
*****
Posts: 159


« Reply #5 on: January 29, 2008, 07:18:54 PM »

Just to double check.  You want to send some data from one ds to a webserver running php... then from another ds, you want to request that data from the webserver?

if that's the case, you can take a look at the code in my "Server List Sample" on the tools page.  It has some code to open a TCP socket on the ds and send some http requests to a webserver, then check for simple results.  For the webserver side of things I currently just have some simple php pages that check the url data and store them in a mysql database... or the other way around if the ds is requesting data.
Logged
Mr.X
Newbie
*
Posts: 3


« Reply #6 on: January 30, 2008, 09:44:40 AM »

Ok thanks:)
I hope I can make a websever^^
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by padexx