Why doesn't the standard library provide (at least basic)
networking facilities using TCP/IP ? 46 2120
"H.A. Sujith" <su****@localho st.localdomain> wrote in
news:slrncf7icc .2sr.su****@loc alhost.localdom ain: Why doesn't the standard library provide (at least basic) networking facilities using TCP/IP ?
What does that mean to an 8-bit microcontroller with 128 bytes of RAM and
8kB of ROM? C has been ported to all sorts of hardware, many that simply
could not easily fit even a simple TCP/IP stack. No, C should not be
burdened with networking.
--
- Mark ->
--
On Tue, 13 Jul 2004 12:47:19 +0000, Mark A. Odell wrote: "H.A. Sujith" <su****@localho st.localdomain> wrote in news:slrncf7icc .2sr.su****@loc alhost.localdom ain:
Why doesn't the standard library provide (at least basic) networking facilities using TCP/IP ?
What does that mean to an 8-bit microcontroller with 128 bytes of RAM and 8kB of ROM? C has been ported to all sorts of hardware, many that simply could not easily fit even a simple TCP/IP stack. No, C should not be burdened with networking.
Humm, file access wouldn't make much sense on such systems either..
Anyway original poster should rather turn to the posix specifications.
"H.A. Sujith" <su****@localho st.localdomain> wrote: Why doesn't the standard library provide (at least basic) networking facilities using TCP/IP ?
Because not nearly all networks are TCP/IP, and when C was first
standardised, even fewer were.
Richard
In <sl************ *******@localho st.localdomain> "H.A. Sujith" <su****@localho st.localdomain> writes: Why doesn't the standard library provide (at least basic) networking facilities using TCP/IP ?
Why TCP/IP?
Instead of trying to answer my question, think about it. It's supposed
to contain the answer to your question.
Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Dan Pop <Da*****@cern.c h> scribbled the following: In <sl************ *******@localho st.localdomain> "H.A. Sujith" <su****@localho st.localdomain> writes:Why doesn't the standard library provide (at least basic) networking facilities using TCP/IP ?
Why TCP/IP?
Instead of trying to answer my question, think about it. It's supposed to contain the answer to your question.
Umm... I know! I think. Can I answer for the OP?
--
/-- Joona Palaste (pa*****@cc.hel sinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"The day Microsoft makes something that doesn't suck is probably the day they
start making vacuum cleaners."
- Ernst Jan Plugge
Joona I Palaste <pa*****@cc.hel sinki.fi> wrote in
news:cd******** **@oravannahka. helsinki.fi: Why doesn't the standard library provide (at least basic) networking facilities using TCP/IP ?
Why TCP/IP?
Instead of trying to answer my question, think about it. It's supposed to contain the answer to your question.
Umm... I know! I think. Can I answer for the OP?
Me too, I think because then someone would ask, "Why not DeviceNET" and
then we'd add that to C and next thing you know, C would only be able to
run on hosted implementations .
--
- Mark ->
--
Mark A. Odell <od*******@hotm ail.com> scribbled the following: Joona I Palaste <pa*****@cc.hel sinki.fi> wrote in news:cd******** **@oravannahka. helsinki.fi:Why doesn't the standard library provide (at least basic) networkin g facilities using TCP/IP ? Why TCP/IP?
Instead of trying to answer my question, think about it. It's supposed to contain the answer to your question.
Umm... I know! I think. Can I answer for the OP?
Me too, I think because then someone would ask, "Why not DeviceNET" and then we'd add that to C and next thing you know, C would only be able to run on hosted implementations .
You are right, but that's not what I was thinking about. Maybe I read
too much into Dan's emphasis on _TCP/IP_?
--
/-- Joona Palaste (pa*****@cc.hel sinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"To doo bee doo bee doo."
- Frank Sinatra
Joona I Palaste <pa*****@cc.hel sinki.fi> wrote in
news:cd******** **@oravannahka. helsinki.fi: >Why doesn't the standard library provide (at least basic) >networki ng facilities using TCP/IP ?
Why TCP/IP?
Instead of trying to answer my question, think about it. It's supposed to contain the answer to your question.
Umm... I know! I think. Can I answer for the OP?
Me too, I think because then someone would ask, "Why not DeviceNET" and then we'd add that to C and next thing you know, C would only be able to run on hosted implementations .
You are right, but that's not what I was thinking about. Maybe I read too much into Dan's emphasis on _TCP/IP_?
Are you saying that one might ask for built-in UDP support or heavens, raw
IP support? I can hear C getting fatter as we just discuss this.
--
- Mark ->
--
Mark A. Odell <od*******@hotm ail.com> scribbled the following: Joona I Palaste <pa*****@cc.hel sinki.fi> wrote in news:cd******** **@oravannahka. helsinki.fi:>>Why doesn't the standard library provide (at least basic) >>networkin g facilities using TCP/IP ?
> Why TCP/IP?
> Instead of trying to answer my question, think about it. It's > supposed to contain the answer to your question.
Umm... I know! I think. Can I answer for the OP? Me too, I think because then someone would ask, "Why not DeviceNET" and then we'd add that to C and next thing you know, C would only be able to run on hosted implementations .
You are right, but that's not what I was thinking about. Maybe I read too much into Dan's emphasis on _TCP/IP_?
Are you saying that one might ask for built-in UDP support or heavens, raw IP support? I can hear C getting fatter as we just discuss this.
No, I would not be asking "what?" or "what not?" but instead "how?". But
maybe my answer won't make sense after all.
--
/-- Joona Palaste (pa*****@cc.hel sinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"It sure is cool having money and chicks."
- Beavis and Butt-head This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Fibre Optic |
last post by:
Hi,
I am looking for good book about network programming in C++. Probably it
will difficult to find out book which explain such complicated subject
for MS Windows & Linux but ... Could some one tell me few good books on
this field ?
Does anyone have experience witch ACE library ? Is it only high level of
network programming, is it possible to write i.e. TFTP/FTP server with
this library ?
|
by: KevinGPO |
last post by:
Two quick queries:
1. I have programmed a little network performance monitor. It monitors
a set of remote hosts over a network. It gets the CPU statistics and
all gets collected at one of the remote hosts (say primary remote host,
holding procValues, 4 CPU floating numbers per n remote hosts).
Now, I want to transfer this data set (double procValues) over a
TCP or UDP network connection to a local host for graphing and storing
in a...
|
by: Brian Keogh |
last post by:
Hi,
I'm a student learning TCP/IP networking at University. Although I
understand all about TCP/IP Networking in Java I am expected to understand
the basics of C with regard to these programs as all the examples in my
course notes and Exams refer to C. Can someone please point me in the right
direction to where I might find answers on the web explaining C code
involved with TCP/IP networking and what they mean.
These are quite basic I'm...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |