diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-05-25 01:54:13 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-05-25 01:54:13 +0000 |
| commit | 0f6c8d50a99997ac7829864b1c93362b50f1bbf3 (patch) | |
| tree | d0cefe3a05484e65b7b7e79d8cae4a1d2e6d19fb /NEW | |
| parent | c1ef3e7103cc652d2004ef1ddc9409b946207f33 (diff) | |
| download | luasocket-0f6c8d50a99997ac7829864b1c93362b50f1bbf3.tar.gz luasocket-0f6c8d50a99997ac7829864b1c93362b50f1bbf3.tar.bz2 luasocket-0f6c8d50a99997ac7829864b1c93362b50f1bbf3.zip | |
Porting to LUA 5.0 final
Diffstat (limited to 'NEW')
| -rw-r--r-- | NEW | 25 |
1 files changed, 20 insertions, 5 deletions
| @@ -1,5 +1,20 @@ | |||
| 1 | Socket structures are independent | 1 | All functions provided by the library are in the namespace "socket". |
| 2 | UDPBUFFERSIZE is now internal | 2 | Functions such as send/receive/timeout/close etc do not exist in the |
| 3 | Better treatment of closed connections: test!!! | 3 | namespace. They are now only available as methods of the appropriate |
| 4 | HTTP post now deals with 1xx codes | 4 | objects. |
| 5 | connect, bind etc only try first address returned by resolver | 5 | |
| 6 | Object has been changed to become more uniform. First create an object for | ||
| 7 | a given domain/family and protocol. Then connect or bind if needed. Then | ||
| 8 | use IO functions. | ||
| 9 | |||
| 10 | All functions return a non-nil value as first return value if successful. | ||
| 11 | All functions return nil followed by error message in case of error. | ||
| 12 | WARNING: The send function was affected. | ||
| 13 | |||
| 14 | Better error messages and parameter checking. | ||
| 15 | |||
| 16 | UDP connected udp sockets can break association with peer by calling | ||
| 17 | setpeername with address "*". | ||
| 18 | |||
| 19 | socket.sleep and socket.time are now part of the library and are | ||
| 20 | supported. | ||
