aboutsummaryrefslogtreecommitdiff
path: root/TODO
blob: c74e5254bd47cbbd4c4b83f0fa3eae03cfc6dad4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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