|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| VisualC/ | H | 15-Jan-2012 | - | 1,139 | 1,106 |
| Xcode/ | H | 15-Jan-2012 | - | 860 | 772 |
| Xcode-iOS/SDL_net.xcodeproj/ | H | 15-Jan-2012 | - | 257 | 245 |
| acinclude/ | H | 15-Jan-2012 | - | 8,350 | 7,483 |
| CHANGES | H A D | 15-Jan-2012 | 4.1 KiB | 110 | 97 |
| COPYING | H A D | 15-Jan-2012 | 983 | 21 | 17 |
| Makefile.am | H A D | 15-Jan-2012 | 1.5 KiB | 73 | 58 |
| Makefile.in | H A D | 03-May-2022 | 26.8 KiB | 807 | 708 |
| README | H A D | 15-Jan-2012 | 948 | 28 | 20 |
| SDL_net.h | H A D | 15-Jan-2012 | 17.9 KiB | 453 | 184 |
| SDL_net.pc.in | H A D | 15-Jan-2012 | 257 | 12 | 10 |
| SDL_net.qpg.in | H A D | 15-Jan-2012 | 5 KiB | 97 | 93 |
| SDL_net.spec | H A D | 15-Jan-2012 | 1.3 KiB | 65 | 49 |
| SDL_net.spec.in | H A D | 15-Jan-2012 | 1.3 KiB | 65 | 50 |
| SDLnet.c | H A D | 15-Jan-2012 | 6.5 KiB | 270 | 189 |
| SDLnetTCP.c | H A D | 15-Jan-2012 | 7.8 KiB | 296 | 183 |
| SDLnetUDP.c | H A D | 15-Jan-2012 | 13 KiB | 529 | 354 |
| SDLnetselect.c | H A D | 15-Jan-2012 | 4.3 KiB | 164 | 102 |
| SDLnetsys.h | H A D | 03-May-2022 | 2.5 KiB | 100 | 64 |
| aclocal.m4 | H A D | 15-Jan-2012 | 37.3 KiB | 969 | 874 |
| autogen.sh | H A D | 15-Jan-2012 | 158 | 9 | 4 |
| chat.cpp | H A D | 15-Jan-2012 | 11.3 KiB | 484 | 355 |
| chat.h | H A D | 15-Jan-2012 | 2 KiB | 54 | 21 |
| chatd.c | H A D | 15-Jan-2012 | 6.3 KiB | 260 | 187 |
| config.guess | H A D | 15-Jan-2012 | 43.7 KiB | 1,495 | 1,284 |
| config.sub | H A D | 15-Jan-2012 | 33.5 KiB | 1,701 | 1,553 |
| configure | H A D | 15-Jan-2012 | 570.1 KiB | 19,450 | 15,208 |
| configure.in | H A D | 15-Jan-2012 | 3.5 KiB | 147 | 129 |
| depcomp | H A D | 15-Jan-2012 | 17.2 KiB | 585 | 370 |
| gcc-fat.sh | H A D | 15-Jan-2012 | 2.9 KiB | 112 | 93 |
| install-sh | H A D | 15-Jan-2012 | 12.9 KiB | 508 | 340 |
| ltmain.sh | H A D | 15-Jan-2012 | 237.6 KiB | 8,408 | 6,472 |
| missing | H A D | 15-Jan-2012 | 10.9 KiB | 368 | 275 |
| showinterfaces.c | H A D | 15-Jan-2012 | 1.5 KiB | 42 | 18 |
| version.rc | H A D | 15-Jan-2012 | 968 | 39 | 34 |
README
1
2SDL_net 1.2
3
4The latest version of this library is available from:
5http://www.libsdl.org/projects/SDL_net/
6
7This is an example portable network library for use with SDL.
8It is available under the zlib license, found in the file COPYING.
9The API can be found in the file SDL_net.h
10This library supports UNIX, Windows, MacOS Classic, MacOS X,
11BeOS and QNX.
12
13The demo program is a chat client and server.
14The chat client requires the sample GUI library available at:
15http://www.libsdl.org/projects/GUIlib/
16The chat client connects to the server via TCP, registering itself.
17The server sends back a list of connected clients, and keeps the
18client updated with the status of other clients.
19Every line of text from a client is sent via UDP to every other client.
20
21Note that this isn't necessarily how you would want to write a chat
22program, but it demonstrates how to use the basic features of the
23network library.
24
25Enjoy!
26 -Sam Lantinga and Roy Wood
27
28