This repository has been archived on 2023-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
sdl-wii/SDL_net/src
2009-04-29 07:40:27 +00:00
..
autogen.sh add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
CHANGES add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
chat.cpp add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
chat.h add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
chatd.c add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
config.guess add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
config.sub add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
configure.in add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
COPYING add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
ltmain.sh add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
Makefile.am add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
README add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
SDL_net.h add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
SDL_net.qpg.in add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
SDL_net.spec.in add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
SDLnet.c add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
SDLnetselect.c add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
SDLnetsys.h add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
SDLnetTCP.c add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00
SDLnetUDP.c add SDL_net source (not ported) 2009-04-29 07:40:27 +00:00

SDL_net 1.2

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 GNU Library General Public License.
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