Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-sim: protect from establishing connection twice
When we create a connection we set it's state to `SYN_SENT`, before it is accepted by the other side, we could try to connect again. In such case we ought to error.
- Loading branch information