Open Encyclopedia

Article Search:

Talk: Server

From open-encyclopedia.com - the free encyclopedia.

Contents

Server line of descent

For a discussion of server computing (HW & OS)'s descent from mini vs microcomputers, see Talk:Minicomputer. --Wernher 02:25, 5 Jul 2004 (UTC)

Readability

The article may be more readable if it is clearly broken up into sections for hardware, OS, application, and X. Right now, people who aren't experienced techies would probably have trouble understanding it. I could probably handle most of this myself, but I am not familiar enough with X Windows to move or change any of it. May make changes later anyway if no one else does though. Endless

Sample code

I removed the following sample code because it seemed a bit extraneous for the article. cprompt

Example of Very Simple Java Server

This Java program basically waits for a connection on port 21; when it gets a connection from an FTP or from a telnet client the server does its thing.

import java.io.*;
import java.net.*;
public class YorickServer
{
   private static PrintWriter out;
   public static void main(String[] args)
   {
       try
       {
           ServerSocket serverSocket = new ServerSocket(21);
           Socket incomingClient = serverSocket.accept();
           BufferedReader in = new BufferedReader(new InputStreamReader(incomingClient.getInputStream()));
           out = new PrintWriter(incomingClient.getOutputStream(), true);
           out.println("Welcome to the Hello Translation!");
           out.println("QUIT to exit the translator");
           while (processCommand(in.readLine()));
           
           incomingClient.close();
       }
       catch (Exception e)
       {
           e.printStackTrace();
       }
   }
   private static boolean processCommand(String command)
   {
       if (command.equals("QUIT"))
       {
           out.println("Bye!");
           return false;
       }
       else if (command.equals("ENG"))
       {
           out.println("Hello");       
       }
       else if (command.equals("FRE"))
       {
           out.println("Bonjour");       
       }
       else if (command.equals("SPA"))
       {
           out.println("Hola");       
       }
       else
       {
           out.println("Error. Language not supported.");       
       }
       return true;
   }
}

Server log is both an orphan and deadend page. Christopherlin 02:48, 17 May 2004 (UTC)

X-Internet

Does anyone know what the X-Internet link refers to? No other page has a similar link [1] and a google search only pulls up wikipedia or sites that mirror wikipedia content. AlistairMcMillan 21:07, 30 Sep 2004 (UTC)

Readibility x 2

The Wikipedia:lead section needs improving quite a bit. Any suggestions? - Ta bu shi da yu 03:51, 30 Nov 2004 (UTC)

Contribute

Found an omission? You can freely contribute to this Wikipedia article. Edit 'Talk: Server' article.

Last Contributor: Ta_bu_shi_da_yu - Article Talk Page: Discussion - GNU FDL: Verbatim Source

About Open Encyclopedia

Open Encyclopedia is an free extensive encyclopedia service provided by the New Frontier Information Network, a newly launched private company which offers easy access to thousands of online articles, e-books and documentation covering a wide variety of broad topics.


This is a minimal rendered version of a open-encyclopedia.com Web page. Our Web site is best viewed using an up-to-date Web browser, such as Mozilla Firefox, Opera or Microsoft Internet Explorer.

Copyright © 2003-2004 Zeeshan Muhammad. All rights reserved. Legal notices. Part of the New Frontier Information Network.