How to do port listening in C++?

This is a discussion on How to do port listening in C++? within the Networking/Device Communication forums, part of the General Programming Boards category; I am a newbie at c++ but need to pick it up in a hurry for my project. I need ...

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    1

    How to do port listening in C++?

    I am a newbie at c++ but need to pick it up in a hurry for my project.

    I need to develop an application that listens to an port (80) for incoming requests, takes a string from the request perform a function and return a result.

    How do i do the port listening part? Maybe a simple sample code as well?

    Thanks in advance.
    ck

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,265
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. FTP program
    By jakemott in forum Linux Programming
    Replies: 14
    Last Post: 10-06-2008, 02:58 PM
  2. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 06:49 PM
  3. Com Port Listening
    By W35 in forum C++ Programming
    Replies: 2
    Last Post: 07-18-2006, 01:39 PM
  4. port listening
    By winterflood_j in forum Windows Programming
    Replies: 6
    Last Post: 12-26-2003, 01:38 PM
  5. Replies: 1
    Last Post: 10-03-2002, 10:52 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21