Electroneum
portinuse.h
Go to the documentation of this file.
1
/* $Id: $ */
2
/* MiniUPnP project
3
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
4
* (c) 2006-2014 Thomas Bernard
5
* This software is subject to the conditions detailed
6
* in the LICENCE file provided within the distribution */
7
8
#ifndef __PORTINUSE_H__
9
#define __PORTINUSE_H__
10
11
#ifdef CHECK_PORTINUSE
12
/* portinuse()
13
* determine wether a port is already in use
14
* on a given interface.
15
* returns: 0 not in use, > 0 in use
16
* -1 in case of error */
17
int
18
port_in_use(
const
char
*if_name,
19
unsigned
port
,
int
proto,
20
const
char
*iaddr,
unsigned
iport);
21
#endif
/* CHECK_PORTINUSE */
22
23
#endif
port
boost::endian::big_uint16_t port
Definition:
socks.cpp:60
external
miniupnp
miniupnpd
portinuse.h
Generated on Sun Mar 10 2024 12:00:00 for Electroneum by
1.8.14