Software / code / verse
Annotate
libs/net.lua @ 506:3610196c5e83 default tip
Merge with Zash.
| author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
|---|---|
| date | Sat, 08 Jul 2023 02:17:52 +0700 |
| parent | 478:cf6626a12e0e |
| rev | line source |
|---|---|
| 478 | 1 return { |
| 2 pton = function (ip) | |
| 3 if ip:find":" then | |
| 4 return "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" | |
| 5 else | |
| 6 return "\0\0\0\0" | |
| 7 end | |
| 8 end | |
| 9 } |