为什么不支持网络? [英] Why not networking support?

查看:93
本文介绍了为什么不支持网络?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么标准库不提供(至少基本的)
使用TCP / IP的b $ b网络设施?

解决方案

" HA Sujith" <苏**** @的localhost.localdomain>写在

news:slrncf7icc.2sr.su **** @ localhost.localdomain:

为什么标准库没有提供(至少基本)
使用TCP / IP的网络设施?




8kB的ROM? C已被移植到各种硬件上,许多简单的即使是简单的TCP / IP堆栈也无法容易地适应这种硬件。不,C不应该是网络负担。


-

- 马克 - >

-


2004年7月13日星期二12:47:19 +0000,Mark A. Odell写道:

HA Sujith" <苏**** @的localhost.localdomain>在
新闻中写道:slrncf7icc.2sr.su **** @ localhost.localdomain:

为什么标准库不提供(至少是基本的)
使用TCP / IP的网络设施?



这对于具有128字节RAM和8kB ROM的8位微控制器意味着什么? C已被移植到各种硬件上,许多硬件甚至不能轻易地适应简单的TCP / IP堆栈。不,C不应该承担网络负担。



Humm,文件访问在这样的系统上也没有多大意义..

无论如何,原始海报应该转向posix规范。


" HA Sujith" <苏**** @的localhost.localdomain>写道:

为什么标准库不提供(至少是基本的)使用TCP / IP的网络设施?



因为并不是几乎所有的网络都是TCP / IP,而且当C首先是标准化的时候,就更少了。


Richard


Why doesn''t the standard library provide (at least basic)
networking facilities using TCP/IP ?

解决方案

"H.A. Sujith" <su****@localhost.localdomain> wrote in
news:slrncf7icc.2sr.su****@localhost.localdomain:

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****@localhost.localdomain> wrote in
news:slrncf7icc.2sr.su****@localhost.localdomain:

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****@localhost.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


这篇关于为什么不支持网络?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆