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
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
<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
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
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..
Sure, no worries!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
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
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
Alright, thanks for your advice
I'll see what i can conjure up