I've run into a strange problem when I try to connect to the official client on testnet (I'm doing some testing locally).
My code sends the version packet, the client updates to show one connection has been made, but it doesn't seem to send any version packet (or anything else) in response. So the handshake just ends there.
This was all working normally yesterday and I can't think of anything I've changed since then.
Has anyone ever encountered this? I don't have any port conflicts I can see. I thought maybe the connection was banned (for misbehaving peer) so I set bantime=0 but this didn't change anything. It hasn't reached the max number of connections. Under what other conditions would the official client not send a version packet in response on testnet?
Really stuck here, thanks!!