Posts by Natã de Alexandria Menezes • 43 points
2 posts
-
1
votes1
answer108
viewsQ: C code, url=inet_ntoa(*(struct in_addr *)ip->h_addr); I don’t understand what’s going on
I was studying sockets for this stuff https://www.exploit-db.com/papers/13634/ and I came across a code that I don’t understand what’s going on. That’s the part of the code: struct hostent *ip; ...…
-
3
votes1
answer103
viewsQ: Simple code performance improvement in C
I had a proof that the question was : Cosiderando that the periods of history are four: (1) period prior to 4000 BC; (2) from 3999 BC to 476 AD; (3) from 477 AD to 1789 AD; and (4) after 1790 AD.…