mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-08 22:38:21 +01:00
31 lines
999 B
Plaintext
31 lines
999 B
Plaintext
create the getstats method.
|
|
|
|
sent, received, age = sock:getstats()
|
|
|
|
take a look at DB's smtp patch
|
|
|
|
sort out the wrap around of gettime...
|
|
use doubles all over
|
|
tm_get e tm_getretry return the timeval structure pointer
|
|
sock_send, sock_recv & sock_select use p_tm instead of timeout
|
|
make select interrupt safe (will be with tm stuff)
|
|
use GetSystemTimeAsFileTime in windows (WinCE will suffer document)
|
|
|
|
optmize aux_getgroupudata
|
|
make aux_newclass receive upvalues
|
|
use one upvalue per string name of class/group
|
|
make aux_checkgroup by upvalue (faster)
|
|
|
|
fix local domain socket kludge of name size
|
|
|
|
make sure all modules that can use it actually use socket.newtry
|
|
adicionar exemplos de expansão: pipe, local, named pipe
|
|
Add service name translation.
|
|
testar os options!
|
|
- Fazer compilar com g++
|
|
- Thread-safe
|
|
- proteger get*by*.* com um mutex GLOBAL!
|
|
- proteger ou atomizar o conjunto (timedout, receive), (timedout, send)
|
|
- inet_ntoa também é uma merda.
|
|
- SSL
|