Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
network/Network.cpp File Reference
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include "Network.h"
#include "ServiceBroker.h"
#include "messaging/ApplicationMessenger.h"
#include "network/NetworkServices.h"
#include "settings/Settings.h"
#include "settings/SettingsComponent.h"
#include "utils/log.h"
#include "utils/StringUtils.h"

Functions

bool in_ether (const char *bufp, unsigned char *addr)
 
std::vector< SOCKETCreateTCPServerSocket (const int port, const bool bindLocal, const int backlog, const char *callerName)
 

Function Documentation

◆ CreateTCPServerSocket()

std::vector< SOCKET > CreateTCPServerSocket ( const int  port,
const bool  bindLocal,
const int  backlog,
const char *  callerName 
)

◆ in_ether()

bool in_ether ( const char *  bufp,
unsigned char *  addr 
)