socket programming

This is a discussion on socket programming within the Networking/Device Communication forums, part of the General Programming Boards category; hello .. i have to write a program in C++,to monitor the packets coming through the COM 3 where my ...

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    9

    Question serial port programmig in C++

    hello ..

    i have to write a program in C++,to monitor the packets coming through the COM 3 where my internal modem is connected...
    basically,my aim is to capture the packets coming from the internet server and demarcate those packets and extract the data..

    the OS on which i work is windows 98,and i work with Turbo C compiler.

    so,how do i start off with such kind of programming??

    thank u ,
    shraddha
    Last edited by shraddha; 09-11-2005 at 11:39 AM.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,434
    Well let's get past all the inconsistencies in your post first.

    The title says 'sockets', yet the post refers to COM ports.

    You post in the C++ forum, yet all you talk about is C

    You make no mention of your OS or compiler, without which we can't even begin to help you.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    Try posting this in "Networking/Device Communication"

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,434
    Agreed - moved to network forum.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. socket programming question, closing sockets...
    By ursula in forum Networking/Device Communication
    Replies: 2
    Last Post: 05-31-2009, 05:17 PM
  2. Socket Help - Multiple Clients
    By project95talon in forum C Programming
    Replies: 5
    Last Post: 11-17-2005, 01:51 AM
  3. when to close a socket
    By Wisefool in forum Networking/Device Communication
    Replies: 5
    Last Post: 11-02-2003, 09:33 AM
  4. problem closing socket
    By Wisefool in forum Networking/Device Communication
    Replies: 2
    Last Post: 10-29-2003, 11:19 AM
  5. socket newbie, losing a few chars from server to client
    By registering in forum Linux Programming
    Replies: 2
    Last Post: 06-07-2003, 11:48 AM

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