diff options
| author | ruki <[email protected]> | 2019-10-27 21:19:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-10-27 21:33:01 +0800 |
| commit | ecc9fe93d544669f6ae5c8261c7e3e4601a11a26 (patch) | |
| tree | e22be0cdb7c1db7856b0c4d80c073cb1313d9c2a /tests/modules/socket/tcp/echo_client.lua | |
| parent | 239d4dead77af769ba5adccb58f30e9d52238adc (diff) | |
improve socket recv
Diffstat (limited to 'tests/modules/socket/tcp/echo_client.lua')
| -rw-r--r-- | tests/modules/socket/tcp/echo_client.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/socket/tcp/echo_client.lua b/tests/modules/socket/tcp/echo_client.lua index 28c242bb1..d2409a210 100644 --- a/tests/modules/socket/tcp/echo_client.lua +++ b/tests/modules/socket/tcp/echo_client.lua @@ -6,7 +6,7 @@ function main() print("connect %s:%d ..", addr, port) local sock = socket.connect(addr, port) print("%s: connected!", sock) - local send = sock:send("hello") + local send = sock:send("hello world..") print("%s: send %d", sock, send) sock:close() end |
