I'm trying to write a very simple MUD(multiple user dungeon) using c++ on a UNIX box. I do not know network programming, and don't have time to learn it in the scope of the project. What I would like to do is to simply use the write command to communicate with other users on the system. I only want them to see what I send though, and not the extra message, eod junk that the write command currently uses. Also, I want to use a variables in the message. Does anyone know how to accomplish this, or if not where I can get the source code for the write command?
Any suggestions on other ways to accomplish this would be helpful too. Thanks a lot.