| 56 | } Status; |
| 57 | |
| 58 | static const char* getStatus(Status s) { |
| 59 | if (s == SYN_SENT) return "SYN_SENT"; |
| 60 | if (s == OPENING) return "OPENING"; |
| 61 | if (s == OPEN) return "OPEN"; |
| 62 | if (s == FIN_SENT) return "FIN_SENT"; |
| 63 | return "ERR_STATE"; |
| 64 | } |
| 65 | |
| 66 | const static int PACKAGE_DATA = 1; |
| 67 | const static int PACKAGE_ACK = 2; |
nothing calls this directly
no outgoing calls
no test coverage detected