• Stars
    star
    190
  • Rank 203,087 (Top 5 %)
  • Language
    Perl
  • License
    zlib License
  • Created over 3 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple, cross-platform wrapper over TCP/IP sockets.
SDL_net 2.0

The latest version of this library is available from GitHub:
https://github.com/libsdl-org/SDL_net/releases

This is an example portable network library for use with SDL.
It is available under the zlib license, found in the file LICENSE.txt.
The API can be found in the file SDL_net.h and online at https://wiki.libsdl.org/SDL_net
This library supports UNIX, Windows, MacOS Classic, MacOS X,
BeOS and QNX.

The demo program is a chat client and server.

The chat client connects to the server via TCP, registering itself.
The server sends back a list of connected clients, and keeps the
client updated with the status of other clients.
Every line of text from a client is sent via UDP to every other client.

Note that this isn't necessarily how you would want to write a chat
program, but it demonstrates how to use the basic features of the 
network library.

Enjoy!
	-Sam Lantinga and Roy Wood

More Repositories

1

SDL

Simple Directmedia Layer
C
9,642
star
2

SDL_image

Image decoding for many popular formats for Simple Directmedia Layer.
C
527
star
3

SDL_mixer

An audio mixer that supports various file formats for Simple Directmedia Layer.
C
391
star
4

SDL_ttf

Support for TrueType (.ttf) font files with Simple Directmedia Layer.
C
358
star
5

sdl12-compat

An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes.
C
192
star
6

SDL_shader_tools

Shader compiler and tools for SDLSL (Simple Directmedia Layer Shader Language)
C
135
star
7

SDL-1.2

Simple Directmedia Layer, 1.2 branch ... ***DEPRECATED***, please use https://github.com/libsdl-org/SDL for new projects!
C
96
star
8

sdlwiki

This is the raw contents of SDL's wiki. You can edit this through GitHub or at https://wiki.libsdl.org/ now!
78
star
9

sdl2-compat

An SDL2 compatibility layer that uses SDL3 behind the scenes.
C
71
star
10

SDL_rtf

Support for Rich Text Format (.rtf) files with Simple Directmedia Layer.
Perl
38
star
11

ghwikipp

A slight improvement on GitHub's current wiki support.
PHP
28
star
12

setup-sdl

GitHub action for providing SDL.
JavaScript
23
star
13

SDL_gesture

SDL2's gesture API split out into a single-header library.
C
19
star
14

libtiff

TIFF decoding library from https://gitlab.com/libtiff/libtiff
C
17
star
15

Maelstrom

Maelstrom 3.0
C++
13
star
16

GUIlib

Simple (and unmaintained!) GUI library built on SDL. Not recommended for new code!
Shell
12
star
17

sdlweb

The website for Simple Directmedia Layer.
PHP
12
star
18

SDL-historical-archive

This is a snapshot of SDL's complete Mercurial repository when we migrated to GitHub. This is is just for historical purposes.
C
8
star
19

SDL_helloworld

A Hello World project that uses SDL.
C
7
star
20

jpeg

JPEG decoding library from https://www.ijg.org/
C
6
star
21

mpg123

mpg decoding library from http://mpg123.de/
C
5
star
22

aom

AV1 Codec Library, forked from https://aomedia.googlesource.com/aom/
C
2
star