#include <iostream>#include <vector>#include "Client.h"#include "tcputil.h"#include "SDL.h"#include "SDL_net.h"Include dependency graph for Server.cpp:
Functions | |
| void | sendLoginMessage (Client p) |
| void | sendMessageAll (string message, Client p) |
| void | sendMessageEveryone (string message) |
| void | runCommand (string message, Client c) |
| void | removeClient (Client p) |
| SDLNet_SocketSet | create_sockset () |
| string | checkNick (string n) |
| int | main (int argc, char **argv) |
Variables | |
| TCPsocket | server |
| vector< Client > | clients |
|
|
makes sure this nick isn't already in use |
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
1.2.18