version 1.1.1.1, 2012/02/21 23:16:22
|
version 1.1.1.2, 2013/07/22 00:36:10
|
Line 2
|
Line 2
|
/* Project: miniupnp |
/* Project: miniupnp |
* http://miniupnp.free.fr/ |
* http://miniupnp.free.fr/ |
* Author: Thomas Bernard |
* Author: Thomas Bernard |
* Copyright (c) 2010 Thomas Bernard | * Copyright (c) 2010-2012 Thomas Bernard |
* This software is subjects to the conditions detailed |
* This software is subjects to the conditions detailed |
* in the LICENCE file provided within this distribution */ |
* in the LICENCE file provided within this distribution */ |
#ifndef __CONNECTHOSTPORT_H__ | #ifndef CONNECTHOSTPORT_H_INCLUDED |
#define __CONNECTHOSTPORT_H__ | #define CONNECTHOSTPORT_H_INCLUDED |
|
|
/* connecthostport() |
/* connecthostport() |
* return a socket connected (TCP) to the host and port |
* return a socket connected (TCP) to the host and port |
* or -1 in case of error */ |
* or -1 in case of error */ |
int connecthostport(const char * host, unsigned short port); | int connecthostport(const char * host, unsigned short port, |
| unsigned int scope_id); |
|
|
#endif |
#endif |
|
|