Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | jt@toerring.de (Jens Thoms Toerring) |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: High-level network programming: is C language suitable for that? |
| Date | 2012-04-26 19:54 +0000 |
| Organization | Freie Universitaet Berlin |
| Message-ID | <9vtng0Fs7gU1@mid.uni-berlin.de> (permalink) |
| References | <jnbudg$vhc$1@nnrp.ngi.it> |
pozz <pozzugno@gmail.com> wrote:
> I'll start a new application in a short time and I'm wondering if C
> language is good enough for that.
> The application will be simple: it should implement some TCP/UDP
> protocols (like TFTP, BOOTP,...) with a simple GUI. It will run on
> Windows platforms, but the possibility to run it on Linux would be nice.
> Is C language suitable for this kind of applications? Which kind of
> cross-platform libraries should I use to manage IP protocols and simple
> GUIs? Could python or other high-level (script) languages be a better
> choice?
Of course, all this can be done in C (most scripting languages
are actually implemented in C, so everything you can do in
those languages can obviously be done in C). But note that C
has no "native" support for networking or graphics, thus the
need for additional (cross-platform) libraries (unless you're
keen to re-invent the wheel;-). For TFTP and other protocols
libcurl seems to be a candidate to take a look at. I don't
know about BOOTP (wasn't that obsoleted by DHCP?). For gra-
phics the only cross-platform library for C I know about is
GTK+ (but I never used it) - most other seem to require C++.
If using Python or some other scripting language would be pre-
ferable depends on what you want to do there, if you need max-
imum performance, and if you feel comfortable with that lan-
guage. Perhaps it might be a good idea to start with a scrip-
ting language and see if it does ok, otherwise you can still
re-implement the stuff in C, drawing on the experiences you
made.
Regards, Jens
--
\ Jens Thoms Toerring ___ jt@toerring.de
\__________________________ http://toerring.de
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
High-level network programming: is C language suitable for that? pozz <pozzugno@gmail.com> - 2012-04-26 18:50 +0200
Re: High-level network programming: is C language suitable for that? "Heinrich Wolf" <invalid@invalid.invalid> - 2012-04-26 19:03 +0200
Re: High-level network programming: is C language suitable for that? ImpalerCore <jadill33@gmail.com> - 2012-04-26 11:52 -0700
Re: High-level network programming: is C language suitable for that? jt@toerring.de (Jens Thoms Toerring) - 2012-04-26 19:54 +0000
Re: High-level network programming: is C language suitable for that? "BartC" <bc@freeuk.com> - 2012-04-27 10:02 +0100
Re: High-level network programming: is C language suitable for that? pozzugno@gmail.com - 2012-04-27 02:20 -0700
Re: High-level network programming: is C language suitable for that? nick_keighley_nospam@hotmail.com - 2012-04-27 07:27 -0700
Re: High-level network programming: is C language suitable for that? pozz <pozzugno@gmail.com> - 2012-04-27 17:07 +0200
Re: High-level network programming: is C language suitable for that? nick_keighley_nospam@hotmail.com - 2012-04-29 04:08 -0700
Re: High-level network programming: is C language suitable for that? TheGunslinger <mikiesrunsbaal.sec@sbcglobal.net> - 2012-04-29 12:57 -0700
Re: High-level network programming: is C language suitable for that? jt@toerring.de (Jens Thoms Toerring) - 2012-04-27 17:07 +0000
Re: High-level network programming: is C language suitable for that? nick_keighley_nospam@hotmail.com - 2012-04-29 04:15 -0700
Re: High-level network programming: is C language suitable for that? Rui Maciel <rui.maciel@gmail.com> - 2012-04-27 19:16 +0100
Re: High-level network programming: is C language suitable for that? jt@toerring.de (Jens Thoms Toerring) - 2012-04-27 22:37 +0000
Re: High-level network programming: is C language suitable for that? Malcolm McLean <malcolm.mclean5@btinternet.com> - 2012-04-28 03:46 -0700
Re: High-level network programming: is C language suitable for that? nick_keighley_nospam@hotmail.com - 2012-04-29 04:37 -0700
Re: High-level network programming: is C language suitable for that? Robert Miles <milesrf@Usenet-News.net> - 2012-05-28 21:13 -0500
Re: High-level network programming: is C language suitable for that? Malcolm McLean <malcolm.mclean5@btinternet.com> - 2012-04-27 00:57 -0700
Re: High-level network programming: is C language suitable for that? Rui Maciel <rui.maciel@gmail.com> - 2012-04-27 10:56 +0100
csiph-web