Skip to content
This repository was archived by the owner on Mar 21, 2021. It is now read-only.

SDL-mirror/SDL_net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

96478de · Jan 2, 2021
Jan 2, 2021
Jun 12, 2018
Jul 30, 2019
Oct 11, 2018
Jan 2, 2021
Jun 20, 2015
Jan 3, 2016
Jun 17, 2013
Oct 25, 2020
Jan 2, 2021
Dec 7, 2020
Dec 7, 2020
Oct 15, 2020
Jun 28, 2013
Jan 28, 2012
Jan 3, 2016
Aug 8, 2013
Jan 2, 2021
Jan 2, 2021
Jan 2, 2021
Jan 2, 2021
Jan 2, 2021
Jan 2, 2021
Oct 27, 2018
Jul 15, 2007
Jan 2, 2021
Jan 2, 2021
Jan 2, 2021
Oct 27, 2018
Oct 21, 2017
Oct 21, 2017
Oct 27, 2018
Jan 3, 2016
Dec 7, 2020
Jun 1, 2013
Dec 7, 2020
Jan 26, 2011
Dec 7, 2020
Jan 15, 2001
Jan 15, 2001
Jan 15, 2001
Jan 2, 2021
Jan 2, 2021

Repository files navigation

SDL_net 2.0

The latest version of this library is available from:
http://www.libsdl.org/projects/SDL_net/

This is an example portable network library for use with SDL.
It is available under the zlib license, found in the file COPYING.txt.
The API can be found in the file SDL_net.h
This library supports UNIX, Windows, MacOS Classic, MacOS X,
BeOS and QNX.

The demo program is a chat client and server.
The chat client requires the sample GUI library available at:
http://www.libsdl.org/projects/GUIlib/
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