| | |
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 |
Tag cloud for C++
api application array arrays based beginner binary bmp c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete deploy developer display dll dynamiccharacterarray email encryption error file format forms fstream function functions game generator givemetehcodez graph homeworkhelp iamthwee ifstream image input int java lib list loop looping loops map math matrix memory multiple newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg simple sorting spoonfeeding string strings struct template templates text tree url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets





