mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-15 15:33:44 +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()
|
||||
{
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user