From: Doug S. <dou...@se...> - 2000-08-24 06:15:58
|
Oh, good. I'm glad that the "client" stuff in the server repository is going to be deleted. It doesn't compile unless you do several things: * you have to #define NEED_PROTO in both main.cpp and port.h (weird stuff if you ask me...) * you have to cast szURL to a char * in the strcat() call in Kosta's change to http4_url.c to get rid of a couple of compiler warnings * you have to cast Rc in http4_ex.c to an unsigned int where it says in the comments that it will generate a signed/unsigned mismatch (this probably would be safe because the bizarre network abstraction library looks like it already handles error conditions, so Rc would be positive by the time it got here, or zero if nothing was received) to get rid of the signed/unsigned mismatch * and you have to link against wsock32.lib That allows it to compile cleanly AND allows it to link. At least it actually works as advertised after all of that. Of course, it's not anything but a little test suite. I'm glad you're getting rid of it. It's distracting. And it's not useful in any way, except perhaps as an exercise for a C Programming 101 class. If the the "client" in the server repository was a test to see who could get it to compile cleanly, I want a gold star for completing the assignment. Doug At 04:31 PM 8/23/00 -0500, Igor Stojanovski wrote: >Grubsters, > >I finally completed the CRW module. As I have already said, this module >work in a way similar to a web server, listening for Clients to connect to >it. Once a client connect, a new thread is started which will deal with the >Client. > >Go to the CVS repository and take a peak at it. It uses a lot of >multithreading stuff, so its prone to bugs. I tested it a little bit, and >it seemed to work fine. > >The server is located in the server directory (big surprise). You will find >a client subdirectory in there. Ignore it completely, I put it there >accidentally. I will remove it soon. > >Cheers, > >igor. > >-------------------------------------------------------------- >Igor Stojanovski Grub.Org Inc. >Chief Technical Officer 5100 N. Brookline #830 > Oklahoma City, OK 73112 >oz...@gr... Voice: (405) 917-9894 >http://www.grub.org Fax: (405) 848-5477 >-------------------------------------------------------------- |