Results 1 to 2 of 2

Thread: multithreaded server windows

  1. #1
    Leftie Linux Lover the_JinX's Avatar
    Join Date
    Nov 2001
    Location
    Beverwijk Netherlands
    Posts
    2,534

    multithreaded server windows

    Hey all,

    I do know how to program a simpel multithreaded TCP/IP server on linux/unix (gcc)
    with pthread and sockets..

    can anyone help me (examples or links) do the same on windows (Microsoft Visual C++ 6 / MFC)..

    I googled, but couldn't find the kind-of-example I am looking for...

    <edit type=add>
    Well actualy if any of you have an example of a simple (echo server or something) server with just two threads (a gui and a server thread), since the actual service the server will have to provide can't be multithreaded (poor disk IO and mutexes in closed-source-program), I'll just use the TCP stack as a queue..
    </edit>

    thx. in advance..
    ASCII stupid question, get a stupid ANSI.
    When in Russia, pet a PETSCII.

    Get your ass over to SLAYRadio the best station for C64 Remixes !

  2. #2
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    Take a look around CodeGuru they have a lot of samples/howtos for windows C++ programs.
    Oliver's Law:
    Experience is something you don't get until just after you need it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •