Skip to content
Snippets Groups Projects
Commit e8bcb2b8 authored by Ziheng Chen's avatar Ziheng Chen
Browse files

Edit questions.md

parent b51ae985
Branches
No related tags found
No related merge requests found
......@@ -68,10 +68,11 @@ _answer here_
> Berkeley Sockets API (socket.h)
> Standard API used in C, C++, Python, etc. for network communication.
>
> Functions:
> socket() → Creates a socket.
> bind() → Binds a socket to an IP/port.
> listen() → Marks a socket for incoming connections.
> accept() → Accepts a new client connection.
> connect() → Connects to a remote server.
> send()/recv() → Sends & receives data.
> - `socket()` → Creates a socket.
> - `bind()` → Binds a socket to an IP/port.
> - `listen()` → Marks a socket for incoming connections.
> - `accept()` → Accepts a new client connection.
> - `connect()` → Connects to a remote server.
> - `send()`/`recv()` → Sends & receives data.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment