Hi im devloping an Visual Basic application but now i need to create the server it would be nice to let the server run 24/7 so i aksed my host i had asp.net hosting (i have readed it was necesarry) they said no so :S
but then i thought why not make it in php
but is that posible it would be a sort of textbased game where you battle each other (there for i should need a server)
Any body idea's?
Thanks
Arno(Cornetto456)
17 Replies - 832 Views - Last Post: 21 March 2011 - 05:05 PM
Replies To: server for vb.net application in php ?
#2
Re: server for vb.net application in php ?
Posted 20 March 2011 - 05:59 AM
Browser games can be created using PHP.
But what you want to do sounds more like a Client-Server thing (using Sockets?). If so, PHP won't do that. If you want to host your own Server-Application, you'll need a root-Server (or at least a Server where you have access to the System (SSH) ).
Greetings: Luke
But what you want to do sounds more like a Client-Server thing (using Sockets?). If so, PHP won't do that. If you want to host your own Server-Application, you'll need a root-Server (or at least a Server where you have access to the System (SSH) ).
Greetings: Luke
#3
Re: server for vb.net application in php ?
Posted 20 March 2011 - 09:41 AM
PHP can create sockets, and thus you can create a server with it. However, it's not very efficient and there are languages better suited to that purpose.
#4
Re: server for vb.net application in php ?
Posted 20 March 2011 - 09:45 AM
Which ?
Thx
Thx
This post has been edited by Dormilich: 20 March 2011 - 11:18 AM
Reason for edit:: spelling
#5
Re: server for vb.net application in php ?
Posted 20 March 2011 - 12:00 PM
Java, C++, Python, basically every language which supports communication over the Internet and has a Socket-Implementation.
Greetings: Luke
Greetings: Luke
#6
Re: server for vb.net application in php ?
Posted 20 March 2011 - 12:03 PM
Yes but i don't like to pay for things 
So i payed for a webhost and have my domain and mysql and such...
but now im creating a app that needs a server for alot :S so i need it to run 24/7 but i thought making it in ruby on rails or php ?
with TCP and such
Good idea or bad idea ?
Thanks
Arno (Cornetto456)
So i payed for a webhost and have my domain and mysql and such...
but now im creating a app that needs a server for alot :S so i need it to run 24/7 but i thought making it in ruby on rails or php ?
with TCP and such
Good idea or bad idea ?
Thanks
Arno (Cornetto456)
#7
Re: server for vb.net application in php ?
Posted 20 March 2011 - 12:18 PM
#8
Re: server for vb.net application in php ?
Posted 20 March 2011 - 01:09 PM
And can i make it also in a java aplet ?
Thanks
Arno(Cornetto456)
Thanks
Arno(Cornetto456)
#9
Re: server for vb.net application in php ?
Posted 20 March 2011 - 01:14 PM
What exactly is going to be the role of your server application? If the game doesn't require a low latency you could fairly easily create a RESTful API and use that as your "server".
#10
Re: server for vb.net application in php ?
Posted 20 March 2011 - 01:16 PM
It would be a game with yea powers and such but evry match that evry user plays will be done on one server so that server will be important but i thought Sockets where good but some people say not witch other possibilities are there ? like winsocket's p2p but what's more ?
Thanks
EDIT : i would like to run it on a website
Arno(Cornetto456)
Thanks
EDIT : i would like to run it on a website
Arno(Cornetto456)
This post has been edited by cornetto456: 20 March 2011 - 01:20 PM
#11
Re: server for vb.net application in php ?
Posted 21 March 2011 - 04:39 AM
An Applet doesn't run on a Server, it runs in the Browser (the JVM of the client PC).
For what you describe, Sockets are maybe the best solution. But if you want to do it with Sockets, you're going to need a Root-Server and a Server-Application (in Java for example) which runs on it. Depending on the number of players, the Server needs much power and a great Bandwidth. And you don't get this for free
Greetings: Luke
For what you describe, Sockets are maybe the best solution. But if you want to do it with Sockets, you're going to need a Root-Server and a Server-Application (in Java for example) which runs on it. Depending on the number of players, the Server needs much power and a great Bandwidth. And you don't get this for free
Greetings: Luke
#12
Re: server for vb.net application in php ?
Posted 21 March 2011 - 06:16 AM
MrLuke187, on 21 March 2011 - 04:39 AM, said:
An Applet doesn't run on a Server, it runs in the Browser (the JVM of the client PC).
For what you describe, Sockets are maybe the best solution. But if you want to do it with Sockets, you're going to need a Root-Server and a Server-Application (in Java for example) which runs on it. Depending on the number of players, the Server needs much power and a great Bandwidth. And you don't get this for free
Greetings: Luke
For what you describe, Sockets are maybe the best solution. But if you want to do it with Sockets, you're going to need a Root-Server and a Server-Application (in Java for example) which runs on it. Depending on the number of players, the Server needs much power and a great Bandwidth. And you don't get this for free
Greetings: Luke
Oke ,
But i thought making the applet run om my webserver (always) don't know if that's possible but ...
and then my applet would be a server/client (the client is my vb.net app) and then yea run it
but my server is needed for making each batlle and if the user atacks with something normal then the int 1 will be given to the server and then the other user will be seen a normal atack
But i can't make it in java to run it alway's ? (on my webserver & if that's not working i could use php ? )
Thanks
Arno(Cornetto456)
#13
Re: server for vb.net application in php ?
Posted 21 March 2011 - 06:27 AM
Okay, Applets don't run on servers, they run on the client. Besides, Applets are only allowed to create a Socket-Communication with the Server thy came from (but if you sign them, they can do more).
Also, i don't get what you want:
You want a Server that the game can be played on. How does your .NET-Application connect to this Server? If it's using Sockets, you can implement the Server in any Language which supports Sockets.
Also, if you want to have this Server 24/7 running, you'll need to pay for it (and you'll need SSH access to manage the Server).
Greetings: Luke
Also, i don't get what you want:
You want a Server that the game can be played on. How does your .NET-Application connect to this Server? If it's using Sockets, you can implement the Server in any Language which supports Sockets.
Also, if you want to have this Server 24/7 running, you'll need to pay for it (and you'll need SSH access to manage the Server).
Greetings: Luke
#14
Re: server for vb.net application in php ?
Posted 21 March 2011 - 10:33 AM
Who are you hosting through? Depending on your budget you could look at moving to a host that supports long running processes. Or you could even look at getting a small VDS.
#15
Re: server for vb.net application in php ?
Posted 21 March 2011 - 10:48 AM
Oke, but im not that old to buy stuff (14) so i asked at my dad but he said no.
but if i make it like this a php script as server the applet as GUI for turning maintace on and such and when you need to connect to the server a invisible browser pointing to the website where the server script is ?
could that be done
And my host is hosting24.com
and hosting on my own pc isn't posible because i got only one pc and i live in europe so if my friends from america want to play they have to get up early :S
so is the above idea possible to make ?
thanks
arno(Cornetto456)
but if i make it like this a php script as server the applet as GUI for turning maintace on and such and when you need to connect to the server a invisible browser pointing to the website where the server script is ?
could that be done
And my host is hosting24.com
and hosting on my own pc isn't posible because i got only one pc and i live in europe so if my friends from america want to play they have to get up early :S
so is the above idea possible to make ?
thanks
arno(Cornetto456)
|
|

New Topic/Question
Reply



MultiQuote





|