
November 30th, 2007, 08:25 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 1
Time spent in forums: 1 m 41 sec
Reputation Power: 0
|
|
|
Server Advice needed
I suck at making titles, yes.
ANYWAY,
Back in the day i used microsoft (last time was bout 3 weeks ago), i had an awesome web server skeleton in vb6 and 5 with vb6 functions. It was great. It had set up an array of sockets and it had one easy place to go to for reading the request and another one for making the output. The output thing just had this really easy if block that checks
first if the requested page is / then
it has a if block that looks for different index files
if there is none it lists the files much like apache
if its a file it would read the file and send it
then i added lots of other stuff to that iff statement. It also had a sub for post data, which contained nothing really but explained how to add things. An awesome skeleton.
I'm trying to get as far away from windows as possible. In my opionion windows is a shiity product. It has its pros but none of them are for me. i want Java (actually some1 refferred me to c++ but i think Java is c++ with extra stuff)! Can some1 please direct me to a web server written in Java like this. That would be great. I did try this awesome thign called Google. But im too tired from those three weeks i was telling you about. What was i doing? Getting fuking opengl to work properly on linux (i finally ****ing got it!)! So if any1 could politely direct me to some place where i could find such a skeleton that would be awesome.
Also: the second thing i did with my vb5 thing server is i made a login thing in the post sub which looked exactly like the get sub. It logged the user in by looking at their ip address. THis worked great, only 1 login per computer, person would be logged into whatever user account they decided to use. But what if two people were using the same ip? Is there another easy way i should be doing it? If the skeleton also has a login thing, or if you people could help with doing that, that would also be aweomse. Thanks. But i mostly want the web server from the first paragraph. I can just have the ip login thing goiing on.
|