Category : networking

Some background: I recently ran a BitDefender AV scan which picked up and cleaned the GenericKDZ trojan – a very nasty infection which includes a keystroke logger. I am adamant about security – always changing default passwords, strong passwords, verifying links, turning off unnecessary services, firewalls, NoScript, patching, air gapping, etc. I even have Deep ..

Read more

I have recently been learning about networking in Unix, and have written these 2 simple programs that waits for a connection, receives a message, then sends the same message back to the sender: Send.cpp #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #include <iostream> #include <unistd.h> int main(int argc, char const *argv[]) { struct addrinfo ..

Read more

getaddrinfo() Always fails for IPV6 with the Error code 11268096, But for IPV4 It is Successful. Hint.ai_family = AF_INET6;//This is what triggers the Error, but I do not know why… Also, How do I get the sin_port/sin6_port in Numbers? Because I am getting port 0… void GetAddrInfoFromHostNameIPV6(const char* DomainName, addrinfo* Result, bool& IsSuccessful) { IsSuccessful ..

Read more