Originally posted by: Sam
Hey, how can I make your chess game into a plain chat server?
-- sam
ReplyOriginally posted by: Robert Boegniel
It's just driving me crazy. CLList->RemoveItem just wont work, it crashes the application.
I'd be greatful if someone could help me out!
Originally posted by: Kwon Kwon-Taek
When I ran the server, CPU usage reaches to 100%.
I think ProcessGames() in server.cpp would be better, if it was:
void ProcessGames()
{
_beginthread(CheckKey,0,NULL);
do
{
Sleep(1000);
} while(repeat);
}
By modifying like this, I solved the problem.
Originally posted by: basem awad
How do you this? I built the app and ran it. I typed server keyword and it told me it waiting for clients so what do i do next? Do I need a client machine or can i test with the same machine I am running the server program on
Thanks
Originally posted by: TEH KOK HOW
I am using Visual C++ 6.0. I can't compile the project as there is no "llist.h" in this version of VC. How can I solve the problem!? Thanks.
ReplyOriginally posted by: Luke McBeath
I am having trouble using winsock functions in my mfc apps
// afxv_w32.h - target version/configuration control for Win32
#ifdef _WINDOWS_
#error WINDOWS.H already included. MFC apps must not #include <windows.h>
#endif
Reply
Originally posted by: Enoch
How can I implement such that the server can ask for a password and the telnet client can type the password without display it.
ReplyOriginally posted by: Paul Barford
Thanks for this insight into writing socket server's. Any chance of putting a client with that?
ReplyOriginally posted by: Kory Becker
Finally someone puts out some great telnet server code. I've been looking for this for a long time. Only thing, it would have been nice to include a much simpler example such as just a basic chat room, but anyways, the classes work great!
ReplyOriginally posted by: Carsten Pedersen
The server works fine and is fairly easy to modify. However, isen't it possible to put some sleep statements in the threads? The server sucks-out all energy of my computer (Windows NT 4)
Do you know a way to read packages send by ARP?
Reply