my_teams
p_server_listen.c File Reference
#include <unistd.h>
#include <stdlib.h>
#include "protocol.h"
Include dependency graph for p_server_listen.c:

Functions

p_payload_tp_server_listen (p_server_t *server)
 Listen for incoming packets on the server. More...
 

Function Documentation

◆ p_server_listen()

p_payload_t* p_server_listen ( p_server_t server)

Listen for incoming packets on the server.

Parameters
serverPointer to the server.
Returns
Pointer to the received payload.
Here is the call graph for this function: