Closed paulasbia closed 3 months ago
The external function used was: extern int setsockopt (int fd, int level, int optname, const void *optval, socklen_t optlen) THROW;
We need had a const void* optval and we used a int opt:
Server.cpp line 136.
I observed that function has a exception, why we did not used?
a questao do void é que uma variavel void pode ser qualquer coisa... nesse caso precisa ser um int. agr muito bem observado a questao do throw... vou abrir uma branch pra fazer a gestao do catch
Context
The external function used was: extern int setsockopt (int fd, int level, int optname, const void *optval, socklen_t optlen) THROW;
We need had a const void* optval and we used a int opt:
Where?
Server.cpp line 136.
Question:
I observed that function has a exception, why we did not used?