How to write a VERY simple server?

Pierre Sahores psahores at easynet.fr
Thu Aug 25 02:34:28 EDT 2005


Hi,

See if this basic tutorial can help :

<http://istream.homeunix.com/insead/index_en.html>

Best Regards,


Le 25 août 05 à 01:10, Gajo Csaba a écrit :

>
>
> Hi,
>
> I started learning Revolution today, though I have been programming in
> other languages such as Java for many years before. What I'd like  
> to do
> is create a simple chat program. I managed to write the client part  
> and
> send a message to a Java server application, but I just cannot build a
> server. All the server has to do is listen to connections on port  
> 5001,
> accept a connection, read from the socket until linefeed and then
> terminate the connection. After that it should put the text in some  
> field
> for display.
>
> I did search through your list and saw a few examples, but they didn't
> work. There was also a link to a ZIP-ed chat program source which I
> downloaded, but the file was corrupted.
>
> So could someone please just type down the source of a simple server
> script? On the Runtime's site they say you can write a client/ 
> server with
> just a few lines, so I'm sure it's very simple, but I cannot figure  
> it out.
>
> Thanks, Csaba
>
> ______________________________________________________________________ 
> _
> [freemail] extra 1GB-os postafiókkal, Önnek már van? http:// 
> freemail.hu
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

skype : psahores

psahores+ at +easynet.fr
sc+ at +sahores-conseil.com

GSM:   +33 6 03 95 77 70
Pro:      +33 1 64 45 05 33
Fax:      +33 1 64 45 05 33

<http://www.sahores-conseil.com/>

WEB/VoD/ACID-DB services over IP
"Mutualiser les deltas de productivité"





More information about the use-livecode mailing list