Vidalia 0.2.12
|
00001 /* $Id: connecthostport.h,v 1.1 2010/04/04 23:21:03 nanard Exp $ */ 00002 /* Project: miniupnp 00003 * http://miniupnp.free.fr/ 00004 * Author: Thomas Bernard 00005 * Copyright (c) 2010 Thomas Bernard 00006 * This software is subjects to the conditions detailed 00007 * in the LICENCE file provided within this distribution */ 00008 #ifndef __CONNECTHOSTPORT_H__ 00009 #define __CONNECTHOSTPORT_H__ 00010 00011 /* connecthostport() 00012 * return a socket connected (TCP) to the host and port 00013 * or -1 in case of error */ 00014 int connecthostport(const char * host, unsigned short port); 00015 00016 #endif 00017