25 lines
624 B
C
25 lines
624 B
C
/****************************************************************************
|
|
* This file is part of the project AqHome.
|
|
* AqHome (c) by 2025 Martin Preuss, all rights reserved.
|
|
*
|
|
* The license for this file can be found in the file COPYING which you
|
|
* should have received along with this file.
|
|
****************************************************************************/
|
|
|
|
#ifndef AQH_TCP_OBJECT_H
|
|
#define AQH_TCP_OBJECT_H
|
|
|
|
#include <aqhome/events2/object.h>
|
|
|
|
/**
|
|
* Helper function to create and connect a TCP socket.
|
|
*/
|
|
AQHOME_API int AQH_TcpObject_CreateConnectedSocket(const char *addr, int port);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|