mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-08 04:29:46 +00:00
LaunchAPPL: delay 0.1 seconds so that server has time to reopen the port
This commit is contained in:
parent
29d6d2d230
commit
09110dbff4
|
@ -65,6 +65,8 @@ TCPStream::TCPStream(po::variables_map &options)
|
||||||
TCPStream::~TCPStream()
|
TCPStream::~TCPStream()
|
||||||
{
|
{
|
||||||
close(fd);
|
close(fd);
|
||||||
|
// a little hack: delay 0.1 seconds so that LaunchAPPLServer has time to reopen the port
|
||||||
|
usleep(100000);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TCPStream::write(const void* p, size_t n)
|
void TCPStream::write(const void* p, size_t n)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user