NET_StreamSocket(3type)
okay bestie, welcome to the NET_StreamSocket(3type) page β this one lives in the SDL_net3 DATATYPES section, and it's literally all about NET_StreamSocket. π
πΈ NAME πΈ
NET_StreamSocketβ an object that represents a streaming connection to another system. π¦
β¨ SYNOPSIS β¨
#include <SDL3_net/SDL_net.h>
typedef struct NET_StreamSocket NET_StreamSocket;
π DESCRIPTION π
This is meant to be a reliable, stream-oriented connection, such as TCP. No cap, that's the vibe: dependable, stream-y, TCP-coded. π
Each NET_StreamSocket represents a single connection between systems. One socket = one connection, periodt. π«
Usually, a client app will have one connection to a server app on a different computer, and the server app might have many connections from different clients. So the client is giving one main-character connection, while the server is out here juggling a whole group chat of them. π
Each of these connections communicate over a separate stream socket. Separate socket, separate stream, separate little lane. π
π¦ AVAILABILITY π¦
This datatype is available since SDL_net 3.0.0. It's been around, bestie. β¨
π SEE ALSO π
sign-off time: this page is from SDL_net 3.2.0, filed under NET_StreamSocket(3type), and the footer didn't give us a date so we're not inventing one. mwah π«Άπ
π¦ where this page comes from
- fedora 43: SDL3_net-devel 3.2.0-2.fc43 Β· Zlib
- fedora 43: SDL3_net-devel 3.2.0-2.fc43 Β· Zlib
- fedora 44: SDL3_net-devel 3.2.0-2.fc44 Β· Zlib
- fedora 44: SDL3_net-devel 3.2.0-2.fc44 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms