LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 514|回复: 2

What does this mean?

[复制链接]
发表于 2004-8-20 09:46:16 | 显示全部楼层 |阅读模式
I type netstat in bash

the display shows

unix  3      [ ]         STREAM     CONNECTED     3650   -
unix  4      [ ]         STREAM     CONNECTED     3656   -                   /tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     3645   -
unix  2      [ ]         DGRAM                    3187   -
unix  2      [ ]         DGRAM                    3121   -
unix  2      [ ]         DGRAM                    3054   -
unix  2      [ ]         DGRAM                    3030   -
unix  2      [ ]         DGRAM                    3015   -


what does STREAMs  and DGRAM mean ?

I am a green hand.wanna to study linux well.I am endeavoring.

Thank you for answer me the problem  ~@~
发表于 2004-8-20 10:38:01 | 显示全部楼层
green hand should start with "how to do?", not "how it works?".
the problem you are asking is about UNIX socket ...
发表于 2004-8-20 15:04:11 | 显示全部楼层
i guess, stream means a tcp connection;dgram means an udp "connection"
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表