in reply to Re^2: Two TCP Connections, one script
in thread Two TCP Connections, one script
I'm confused. Mostly because you are too I think.
There is a server across the way. This server has two ports allocated, A and B.
A is port 12345 and its job is to send the telemetry of an aircraft.
B is port 6789 and its job is to send the waypoint locations.
port 12345 will only receive the telemetry in XML format and
port 6789 will only send the waypoint XML file.
Which is it?
You'll need to clarify whether the script you want, needs to act
If so, is it reading from both or writing to one of them?
And finally:
My question would be how can I separate these processes?
What do you mean by this?
In the code you reposted, there is an if statement. In one half of it you would be dealing with telemetry data. In the other, waypoint data.
What problem are you seeing with that?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Two TCP Connections, one script
by deadpickle (Pilgrim) on Apr 05, 2008 at 06:09 UTC | |
by BrowserUk (Patriarch) on Apr 05, 2008 at 13:42 UTC |