I am attempting to write my first c++ program. It is a bot that will me used to connect to a Multi User Dungeon.
The premis is this
The application will open a server on a specified port on the local machine, and also connect to the MUD server. The application will act as a go between (bouncer) to sent commands from a separate mud client to the mud server.
The user will connect to the local server instead of directly to the mud.
The application will also pass the text from the mud (line for line) back to the client end.
in the end i will be adding the ability to parse input both ways and replace certain lines of text with others, or automatically respond to input from the mud automagicaly.
Im doing this dev c++ and all in winblows. Im using winsock.
So far I have been able to create the local server and connect to it from the mud client.
Next step is to connect the local server to the mud server.
Do i need 2 seperate threads to do this?
also any other help or examples of similar applications would be greately appreciated