| | |
Making a MUD
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
A few of my friends from computer science, led by me,
are developing a MUD game. I plan to run the server from home,
and we plan to write the game in two source files.
(Yes, we are determined to do this from scratch,
without Lima or Mudscript.)
The first source file, client.cpp, needs to send text commands to the
server, containing data such as this: "command=north; user=gameplayer"
And the server responds by changing the player position on the player
file, and sending "room=northern" to user gameplayer.
Is there a command and library dealing with internet data
in C or C++?
Any help or links to helpful websites would be much appreciated,
and it would be even better if anyone would like to help
develop the game.
are developing a MUD game. I plan to run the server from home,
and we plan to write the game in two source files.
(Yes, we are determined to do this from scratch,
without Lima or Mudscript.)
The first source file, client.cpp, needs to send text commands to the
server, containing data such as this: "command=north; user=gameplayer"
And the server responds by changing the player position on the player
file, and sending "room=northern" to user gameplayer.
Is there a command and library dealing with internet data
in C or C++?
Any help or links to helpful websites would be much appreciated,
and it would be even better if anyone would like to help
develop the game.
Cheese. In fact, I rather dislike cheese.
Yes there is, it is called sockets.
On windows you can use winsock2 just include <winsock2.h> (it is part of the standard windows API).
Search on the internet for "winsock tutorial" for further technical instructions on using the class.
Don't forget to link against ws2_32.lib or dynamically load winsock.dll .
Good Luck.
On windows you can use winsock2 just include <winsock2.h> (it is part of the standard windows API).
Search on the internet for "winsock tutorial" for further technical instructions on using the class.
Don't forget to link against ws2_32.lib or dynamically load winsock.dll .
Good Luck.
A Hacker's Mind:
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes..." - J.D.Salinger
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes..." - J.D.Salinger
![]() |
Similar Threads
- need help making scrollbar (HTML and CSS)
- Making MP3 CD (Windows NT / 2000 / XP)
- Want help making program access a web page automatic. (C)
- What am i making? (PHP)
- error making boot disk for mandrake 10 (*nix Software)
Other Threads in the C++ Forum
- Previous Thread: Compare Char[] to ""
- Next Thread: question about a c++ program
| Thread Tools | Search this Thread |
api array beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion count database delete desktop developer directshow dll download dynamic email encryption error file forms fstream function functions game getline givemetehcodez google graph gui homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux loop looping loops map math matrix memory multiple news node number output parameter pointer problem program programming project proxy python random read recursion recursive return sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





