You are not logged in.
I'm going to be taking a software engineering course next semester at school. It's in C++ and about halfway through we have to write some sort of medium sized 'real-world' software app. Most people just write a simple program (like a ticket booking system) which I suppose is par for the course. But I'd like to try my hand at something more 'real-world'. Even if it is in the end just a ticket booker, I'd like it to run as a server/client over the internet. But I have no idea about how to write software that communicates over the internet or anything about networking at all. Are there some primers I could get about writing distributed software like this? Especially with C++ libraries that I'll needing.
The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github
Offline
try 'man 7 socket'?
open up the mpd source (or some other server/client software you like)?
Last edited by peets (2008-12-22 13:36:25)
Offline
this c programming guide may be of some use. it has a section on sockets which has an example of a server/client program that i think you should be able to modify to communicate via a tcp/ip socket. i haven't done any kind of programming using sockets directly (though i'd like to play around with it when i have some free time) so i'm not sure exactly how you would go about making those changes.
open up the mpd source (or some other server/client software you like)?
netcat might be a good example as well
Offline
Beej's Guide to Network Programming is quite good.
Offline
Beej's Guide to Network Programming is quite good.
Oh, I'd forgotten about it! That's how I learned. +1 then.
Offline