Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bd5c3d824c3db63ffd9226c15941e6ad > files > 586

mozart-1.4.0-1mdv2010.0.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>11 Chat Server and Client</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="board.html#chapter.board">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="mim.html#chapter.mim">Next &gt;&gt;</A></TD></TR></TABLE><DIV id="chapter.chat"><H1><A name="chapter.chat">11 Chat Server and Client</A></H1><H3 class="authors"><A href="http://www.ps.uni-sb.de/~duchier/">Denys&nbsp;Duchier</A></H3><P></P><P class="linkmenu">[ <A href="applets/ChatServer.oza">Start Server</A> | <A href="applets/ChatClient.oza">Start Client</A> | <A href="../install/node14.html#appendix.applets">How to enable Applets</A>  ]</P><P></P><DIV class="unnumbered"><H2><A name="label14">Starting a Chat Server</A></H2><P>First a window pops up and prompts you for a file name in which to save the <A href="../system/node47.html#chapter.connection">ticket</A> which enables clients to join the chat session. If you want the ticket to be accessible to other clients on the internet, you could create a file that can be accessed through your http server. For example, if I ask the server to save the ticket into file <CODE>/home/duchier/public_html/chien.et.chat</CODE> then this ticket becomes available under my home page at url <CODE>http://www.ps.uni-sb.de/~duchier/chien.et.chat</CODE></P><P>After the server has started, it leaves on your screen a button that allows you to shut it down.</P></DIV><DIV class="unnumbered"><H2><A name="label15">Starting a Client</A></H2><P>When you start a client, it pops up a window where you must enter the filename or URL where the ticket can be found for the chat server to which you want to connect. It also allows you to edit the user name and host name which are used to identify you in the chat session. This identity is simply used as prefix to the messages that you post so that everybody may know who said what; it has no other purpose.</P></DIV></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="board.html#chapter.board">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="mim.html#chapter.mim">Next &gt;&gt;</A></TD></TR></TABLE><HR><ADDRESS><SPAN class="version">Version 1.4.0 (20090610)</SPAN></ADDRESS></BODY></HTML>