aqhome: more work on transformation to event2/ipc2.
This commit is contained in:
24
aqhome/ipc2/tcp_object.h
Normal file
24
aqhome/ipc2/tcp_object.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/****************************************************************************
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user