mirror of
				https://github.com/lunarmodules/luasocket.git
				synced 2025-10-31 02:15:38 +01:00 
			
		
		
		
	test/udp-zero-length-send: add missing "socket ="; use shebang "#!/usr/bin/env lua"
This commit is contained in:
		| @@ -1,4 +1,4 @@ | |||||||
| #!/usr/bin/lua | #!/usr/bin/env lua | ||||||
|  |  | ||||||
| --[[ | --[[ | ||||||
| Show that luasocket returns an error message on zero-length UDP sends, | Show that luasocket returns an error message on zero-length UDP sends, | ||||||
| @@ -12,7 +12,7 @@ listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes | |||||||
|  |  | ||||||
| ]] | ]] | ||||||
|  |  | ||||||
| require"socket" | socket = require"socket" | ||||||
|  |  | ||||||
| s = assert(socket.udp()) | s = assert(socket.udp()) | ||||||
| r = assert(socket.udp()) | r = assert(socket.udp()) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user