Python and Java are good for network programming, I like C,
I just want to ask can I make network programming (all kind of network programming) with C
like Python or Java, or should I use C++?
Python and Java are good for network programming, I like C,
I just want to ask can I make network programming (all kind of network programming) with C
like Python or Java, or should I use C++?
That a guide to network programming in C exists means that yes, network programming in C is possible.
Should you use C? That's hard to answer without further information on what you're trying to do, what environments you're programming for, what skill set you (and your team, if any) already have, etc.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
The answer is "yes, you can use C". And flp has pointed you to a standard beginner's guide.
A little inaccuracy saves tons of explanation. - H.H. Munro
Thank you all, more questions please, Can C networking do C++ networking? Is there is network library for C?
I'm curious as to what motivated you to ask this question. Do you really know both C and C++? Are you aware that despite their common heritage, and that C programs can be written to be compilable as C++, they are very different languages?Originally Posted by cempa88
Obviously. If you're talking about standard C, then no.Originally Posted by cempa88
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
As john.c and laserlight told you, of course there are libraries. Sockets (and WinSocket 2, on Windows) are provided by the operating system (or the C library - glibc, for GCC, for instance). But there are high level libraries as well... For example: libnet, libcurl, libmicrohttpd, ...
Lots and lots of them... You just need to do some research...
Thank you all