SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]
(This function is part of SDL_net, a separate library from SDL.)

NET_StreamSocket

An object that represents a streaming connection to another system.

Header File

Defined in <SDL3_net/SDL_net.h>

Syntax

typedef struct NET_StreamSocket NET_StreamSocket;

Remarks

This is meant to be a reliable, stream-oriented connection, such as TCP.

Each NET_StreamSocket represents a single connection between systems. 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. Each of these connections communicate over a separate stream socket.

Version

This datatype is available since SDL_net 3.0.0.

See Also


CategoryAPI, CategoryAPIDatatype, CategorySDLNet


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.