my_teams
p_client_create.c File Reference
#include <arpa/inet.h>
#include <stdlib.h>
#include "protocol.h"
Include dependency graph for p_client_create.c:

Functions

p_client_tp_client_create (const char *ip, const int port)
 Create a client with given IP and port. More...
 

Function Documentation

◆ p_client_create()

p_client_t* p_client_create ( const char *  ip,
int  port 
)

Create a client with given IP and port.

Parameters
ipIP address of the server.
portPort number of the server.
Returns
Pointer to the created client.
Here is the call graph for this function: