From e8bcb2b8da0673d489d4faf0593d0e4d0dab843e Mon Sep 17 00:00:00 2001 From: Ziheng Chen <zc328@dragons.drexel.edu> Date: Mon, 3 Mar 2025 04:05:14 +0000 Subject: [PATCH] Edit questions.md --- w8/questions.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/w8/questions.md b/w8/questions.md index 3e413dd..ff5a90a 100644 --- a/w8/questions.md +++ b/w8/questions.md @@ -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. -- GitLab