my_teams
p_client_listen.c File Reference
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "protocol.h"
Include dependency graph for p_client_listen.c:

Functions

p_payload_tp_client_listen (p_client_t *client)
 Listen for incoming packets on the client. More...
 

Function Documentation

◆ p_client_listen()

p_payload_t* p_client_listen ( p_client_t client)

Listen for incoming packets on the client.

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