| 208 | } |
| 209 | |
| 210 | void fxDisconnect(txMachine* the) |
| 211 | { |
| 212 | if (the->connection != INVALID_SOCKET) { |
| 213 | closesocket(the->connection); |
| 214 | the->connection = INVALID_SOCKET; |
| 215 | } |
| 216 | WSACleanup(); |
| 217 | } |
| 218 | |
| 219 | txBoolean fxIsConnected(txMachine* the) |
| 220 | { |