How to write a VERY simple server?
gcsaba2 at freemail.hu
Wed Aug 24 18:10:06 CDT 2005
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
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.
[freemail] extra 1GB-os postafiókkal, Önnek már van? http://freemail.hu
More information about the use-livecode