#include <stdio.h>
#include <winsock2.h>
Go to the source code of this file.
Defines | |
#define | PORT 5555 |
#define | MAXMSG 512 |
#define | MAXCLI 64 |
Functions | |
void | erro_fatal (char *mensagem) |
int | cria_soquete_serv (int porta) |
int | envia_pro_cliente (int filedes, char *msg) |
int | atende_o_cliente (int sock) |
int | main () |
Variables | |
int | numcli |
#define MAXCLI 64 |
Definition at line 39 of file msersock.c.
#define MAXMSG 512 |
Definition at line 38 of file msersock.c.
#define PORT 5555 |
Definition at line 37 of file msersock.c.
int atende_o_cliente | ( | int | sock | ) |
int cria_soquete_serv | ( | int | porta | ) |
int envia_pro_cliente | ( | int | filedes, | |
char * | msg | |||
) |
void erro_fatal | ( | char * | mensagem | ) |
Definition at line 42 of file msersock.c.
int main | ( | void | ) |
int numcli |
Definition at line 107 of file msersock.c.