NET_Server.3type - Man Page

The receiving end of a stream connection.

Synopsis

#include <SDL3_net/SDL_net.h>

typedef struct NET_Server NET_Server;

Description

This is an opaque datatype, to be treated by the app as a handle.

Internally, this is what BSD sockets refers to as a "listen socket". Clients attempt to connect to a server, and if the server accepts the connection, will provide the app with a stream socket to send and receive data over that connection.

Availability

This datatype is available since SDL_net 3.0.0.

See Also

NET_CreateServer(3)

Info

SDL_net 3.2.0 SDL_net3 DATATYPES