Hi JKSH,
For this school project, I’m assuming that both clients know each other’s IP, so what I do is for the client to try to connect to the peer’s IP, and if it doesn’t succeed, it becomes the Server. Now the other peer is able to connect. I won’t have much time to add much features and quality for this project, as I struggled too much trying to make it work for Android (so far without success) hehe.
↧