Category: CS
-
[basic CS] Understanding 2’s complement
1. Computer is not smart In the era of Artificial Intelligence, we often treat computers like magical wands. Thanks to AI, we can effortlessly generate images and retrieve information through tools like ChatGPT. While these capabilities might seem like magic, at their core, they are driven by the principles of a simple calculator. Let’s delve…
-
[Network] What is a socket
1. Packet before socket Network Interface Card(NIC) receives packet from the outside network. These packets are handed over to Network Stack of an operating system. The Network Stack refers to the software module that handles TCP/IP protocol. When an application sends data to TCP/IP stack, the headers should be added. On the contrary, when application…