OkayTeacher
EN English 한국어 日本語 中文 हिन्दी বাংলা اردو Español Português Français Deutsch Русский العربية Bahasa Indonesia Tiếng Việt ไทย Türkçe

How to enable notifications

Notifications are unavailable in this browser or on this address. Try a supported browser on the secure SONUB site.

If notifications are blocked, allow them in your browser settings.

  1. Open the site controls beside the address bar, or your browser’s site settings. Set Notifications for this site to Allow.
  2. In your device settings, allow notifications for your browser and check Do Not Disturb or Focus.
  3. Return to SONUB, reload the page, and use the bell to enable notifications.

On iPhone or iPad, add SONUB to your Home Screen, open it there, then allow notifications.

All Vibe Coding topics

Web Client

Everything that asks a server for something.

A browser is a web client, and so is one line of curl. Type an HTTP request by hand with nc, then watch the same text go by in curl and Chrome DevTools.

A browser window, a dark terminal window and a smartphone each send an envelope to the same server, and pages come back to each of them.
A , and a phone app play the same role: they ask first, and the answers.

A client is whatever asks first

and server are roles, not machines. Whichever side opens the conversation and asks for something is the client; the side that waits and answers is the server. Your browser is a client, so is curl, so is a phone app, so is another server calling an .

That is why you can write a web client in one line. It does not need a window, a , or a mouse — it needs to connect, send a , and read what comes back.

QuestionClientServer
Who speaks firstOpens the connection and sends the request.Waits on a , silent until someone connects.
Who needs an addressNeeds to know where the server is — a or an , and a port.Needs a stable address, which is why servers get domain names and clients usually do not.
How many at onceUsually one conversation at a time, though a browser opens several to load a page faster.Many at once, which is most of what makes real server complicated.
The same can be both

A web server that fetches a map or charges a card is acting as a client for that request. Roles swap by the second, so ask which direction a particular request travels rather than what kind of machine is at each end.

You mark this yourself. Nothing is graded here.

Mark this step as understood?

This cannot be undone yet, so mark it only when you really understand.

Marked as understood

You mark this yourself. Nothing is graded here.