gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

tcpClient.h (318B)


      1 #pragma once
      2 
      3 #include "tcpConnection.h"
      4 
      5 #include <string>
      6 
      7 namespace networkLib
      8 {
      9 	class TcpClient : TcpConnection
     10 	{
     11 	public:
     12 		TcpClient(std::string _host, uint32_t _port, OnConnectedFunc _onConnected);
     13 	protected:
     14 		void threadFunc() override;
     15 	private:
     16 		const std::string m_host;
     17 		const uint32_t m_port;
     18 	};
     19 }