mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 22:13:34 +08:00
simulator: improve misleading TCP message
Proposed first by @lovettchris.
This commit is contained in:
@@ -728,7 +728,7 @@ void Simulator::run()
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
PX4_INFO("Waiting for simulator to connect on TCP port %u", _port);
|
PX4_INFO("Waiting for simulator to accept connection on TCP port %u", _port);
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
if ((_fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
|
if ((_fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user