| 134 | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 135 | |
| 136 | bool FGOutputSocket::InitModel(void) |
| 137 | { |
| 138 | if (FGOutputType::InitModel()) { |
| 139 | delete socket; |
| 140 | socket = new FGfdmSocket(SockName, SockPort, SockProtocol, precision); |
| 141 | |
| 142 | if (socket == 0) return false; |
| 143 | if (!socket->GetConnectStatus()) return false; |
| 144 | |
| 145 | PrintHeaders(); |
| 146 | |
| 147 | return true; |
| 148 | } |
| 149 | |
| 150 | return false; |
| 151 | } |
| 152 | |
| 153 | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 154 |
nothing calls this directly
no test coverage detected