mirror of
				https://github.com/lunarmodules/luasocket.git
				synced 2025-10-31 10:25:55 +01:00 
			
		
		
		
	Modified beause of name changes in examples.
This commit is contained in:
		| @@ -1,32 +1,32 @@ | |||||||
| This directory contains some sample  programs using LuaSocket as well as | This directory  contains some  sample programs using  LuaSocket as | ||||||
| the automatic tests used to make sure the library is working properly. | well  as the  automatic tests  used to  make sure  the library  is | ||||||
|  | working properly. | ||||||
|  |  | ||||||
| The files provided are: | The files provided are: | ||||||
|  |  | ||||||
| 	server.lua				-- test server | 	testsrvr.lua			-- test server | ||||||
| 	client.lua				-- test client | 	testclnt.lua			-- test client | ||||||
| 	command.lua				-- test command definitions | 	testcmd.lua				-- test command definitions | ||||||
|  |  | ||||||
| The automatic tests are composed by three files: client.lua, command.lua | To run  the automatic tests on  your system, make sure  to compile | ||||||
| and server.lua. To run the automatic tests  on your system, make sure to | the library with _DEBUG defined (check makefile) and then open two | ||||||
| compile the library  with _DEBUG defined (check makefile)  and then open | terminals.  Run  'luasocket  testsrvr.lua'  on  one  of  them  and | ||||||
| two terminals. Run 'luasocket server.lua'  on one of them and 'luasocket | 'luasocket testclnt.lua'  on the other. The  programs should start | ||||||
| client.lua'  on the  other. The  programs should  start talking  to each | talking to each other. | ||||||
| other. |  | ||||||
|  |  | ||||||
| 	listen.lua				-- echo server | 	listener.lua			-- echo server | ||||||
| 	talk.lua				-- echo tester | 	talker.lua				-- echo tester | ||||||
|  |  | ||||||
| listen.lua  and talk.lua  are about  the simplest  applications you  can | listener.lua and  talker.lua are  about the  simplest applications | ||||||
| write  using  LuaSocket.  Run   'luasocket  listen.lua'  and  'luasocket | you  can write  using  LuaSocket. Run  'luasocket listen.lua'  and | ||||||
| talk.lua' on different terminals. Whatever  you type on talk.lua will be | 'luasocket talk.lua' on different  terminals. Whatever you type on | ||||||
| printed by listen.lua. | talk.lua will be printed by listen.lua. | ||||||
|  |  | ||||||
| 	dict.lua				-- dict client | 	dict.lua				-- dict client | ||||||
|  |  | ||||||
| The  dict.lua module  is a  cool simple  client for  the DICT  protocol, | The dict.lua module is a cool simple client for the DICT protocol, | ||||||
| written by Luiz  Henrique Figueiredo. Just run it and  enter a few words | written by Luiz  Henrique Figueiredo. Just run it and  enter a few | ||||||
| to see it working. | words to see it working. | ||||||
|  |  | ||||||
| Good luck, | Good luck, | ||||||
| Diego. | Diego. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user