Monero
Loading...
Searching...
No Matches
connecthostport.c File Reference
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/select.h>
#include <errno.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include "connecthostport.h"
Include dependency graph for connecthostport.c:

Macros

#define closesocket   close
#define MINIUPNPC_IGNORE_EINTR
#define MAXHOSTNAMELEN   64

Functions

SOCKET connecthostport (const char *host, unsigned short port, unsigned int scope_id)

Macro Definition Documentation

◆ closesocket

#define closesocket   close

◆ MAXHOSTNAMELEN

#define MAXHOSTNAMELEN   64

◆ MINIUPNPC_IGNORE_EINTR

#define MINIUPNPC_IGNORE_EINTR

Function Documentation

◆ connecthostport()

SOCKET connecthostport ( const char * host,
unsigned short port,
unsigned int scope_id )