I’m looking to write a simple app that will act as an emulator for a server that is not yet coded, so that I can test the client devices that will eventually connect to it.
The goal is this.
The client software will connect to the emulator on port 3434 and send either “A” or “B”
The emulator must look at the data that it was sent from the client, and then respond back to the machine that sent it. So in this case, if the client sent “A”, the emulator would respond back (also on port 3434) to the requesting machine “You sent A”. Alternatively, the emulator would respond “You sent B” if the client sent a B.
Anybody know how to throw this together real quick?