Communicating over a network

This is a discussion on Communicating over a network within the C Programming forums, part of the General Programming Boards category; I was wondering, within the C language, how you can communicate to computers through a network and detect programs that ...

  1. #1
    Registered User BellosX's Avatar
    Join Date
    Sep 2001
    Posts
    19

    Post Communicating over a network

    I was wondering, within the C language, how you can communicate to computers through a network and detect programs that are running?
    I wouldn't have a clue where to start on this sort of stuff, any info is appreciated.

    Thanks

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    <Sarcasm> Simple, </sarcasm> all you have to do is open a socket connection between the computers, and then have one of the computers ask for a report (the client) and the other computer give the report (the server).

    Seriously, socket programming is pretty tricky. The main question is, what OS is this for?

    starX
    www.axisoftime.com
    ---------------
    starX
    www.axisoftime.com

  3. #3
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    if you do a search you'll find I posted about 5 links awhile ago...either this board or windows one. I REALLY don't want to re-post them

  4. #4
    Registered User BellosX's Avatar
    Join Date
    Sep 2001
    Posts
    19
    Originally posted by starX
    <Sarcasm> Simple, </sarcasm> all you have to do is open a socket connection between the computers, and then have one of the computers ask for a report (the client) and the other computer give the report (the server).

    Seriously, socket programming is pretty tricky. The main question is, what OS is this for?

    starX
    www.axisoftime.com

    hmm yes, well i'm not that good yet starX

    Well i'm hoping that the OS will be very broad, but it's mainly for Windows 95/98/2000 at the moment..

  5. #5
    Registered User BellosX's Avatar
    Join Date
    Sep 2001
    Posts
    19
    Originally posted by -KEN-
    if you do a search you'll find I posted about 5 links awhile ago...either this board or windows one. I REALLY don't want to re-post them
    Sure, no worries!

  6. #6
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    well, the point that I was trying to make is that it is rather difficult to do. A little advice though, when working with files (opening, reading, writing, moving around in) in C becomes easy, THEN you'll be reading to undertake the task of socket programming. I can't help you much technically speaking though... I use linux.

    The best advice that I can give is that if you really want to do network programming now now now, then play around with java a little bit first. Sockets in java take less effort than they do in C.

    starX
    ---------------
    starX
    www.axisoftime.com

  7. #7
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    If your interested in socket programming for Windows, then try get a book called "Network Programming for Windows" by Jones & Ohland. Its published by Microsoft Press and has lots of examples in C.

    One word of warning, this book is expensive, but it does go into a lot of detail. If you can get it from a library, then its definately worth a peek

  8. #8
    Registered User BellosX's Avatar
    Join Date
    Sep 2001
    Posts
    19
    Alright, thanks for your advice

    I'll see what i can conjure up

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 3D Network Analysis Tool
    By durban in forum Projects and Job Recruitment
    Replies: 1
    Last Post: 11-08-2005, 05:33 PM
  2. Need help with easy Network setup
    By the dead tree in forum Tech Board
    Replies: 9
    Last Post: 04-08-2005, 07:44 PM
  3. Network Phantom !!
    By GSLR in forum Networking/Device Communication
    Replies: 2
    Last Post: 08-14-2003, 11:41 PM
  4. network problems
    By lucy in forum Tech Board
    Replies: 6
    Last Post: 01-01-2003, 02:33 PM
  5. WinXP Network Connections pop-up
    By DavidP in forum Tech Board
    Replies: 1
    Last Post: 10-02-2002, 05:36 PM

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