当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·★有事没事多★    »显示摘要«
    摘要: unit faq; //用timage,ado读和写sql server或者access数据库中图片(bmp或者jpg格式都可以)字段的源代码: http://www.csdn.net/expert/topic/973/973247.xml?temp=.441189 //改动hint时间 application.hinthidepause:=10000;//10秒 //提取图标转换为bmp......
 ·怎么计算逻辑区的空间大小    »显示摘要«
    摘要: 逻辑盘中几个参数;用于分配的物理卷最大数量:32,逻辑分区的最大数量:512,那么这个逻辑盘有多大空间? 是512*32=16384m么? 如果是的话,我的lv01逻辑盘是这个参数,那么我的lv01逻辑盘大小是16384? 可是我以df -k察看, /dev/lv01 4063232 2123820 48% 29 1% /oradata 从这上面看,我的lv01已经是4个g了啊??? 按卷......


究竟应该是AFINET还是PFINET.

socket的第一个参数究竟应该是AF_INET还是PF_INET,虽然它们的值都是2。  
   
  我觉得应该是PF_INET,但我看大家用的多的还是AF_INET。

NO.1   作者: kaitty

|>   |   AF   =   address   family.     These   constants   go   into   the   sin_family   member   of   the  
  |>   |   socket   address   structure.  
  |>   |  
  |>   |   PF   =   protocol   family.     These   constants   are   the   first   argument   to   socket().  
  |>    
  |>   There   is   a   little   more   to   it   than   that.     Although   I   dont   have   the   ancient  
  |>   sources   handy   to   check   (and   my   memory   of   this   particular   aspect   is   fading),  
  |>   I   recall   that   the   original   socket   code   (4.1c/2.8/2.9BSD)   employed   a   protocol  
  |>   structure   similar   in   concept   to   the   sockaddr   structure.     The   protocol  
  |>   structure   contained   a   family   element   and   a   family-specific   protocol   number.  
  |>   The   PF_   constants   were   used   for   the   family   element   of   the   protocol   structure.  
  |>   A   protocol   structure   (or,   rather,   the   address   of   one)   could   be   passed   to   the  
  |>   socket()   call   to   serve   a   purpose   similar   to   that   of   the   last   (integer)  
  |>   argument  
  |>   of   the   current   socket()   call.     (Keep   in   mind   that   the   old   socket()   call   did  
  |>   not  
  |>   take   a   family/domain   argument   at   all,   so   interpretation   of   the   protocol  
  |>   number  
  |>   would   not   have   been   possible   without   the   PF_   cue.)     Originally,   then,   the   PF_  
  |>   and   AF_   constants   had   a   much   more   parallel   purpose   as   structure   tags.     When  
  |>   socket()   started   requiring   a   family/domain   argument,   the   protocol   structure  
  |>   was   dropped.  
  |    
  |   Well,   actually   your   memory   is   a   bit   off.


 ·--------朋克马甲---------    »显示摘要«
    摘要: http://expert.csdn.net/expert/topic/1692/1692199.xml?temp=.2787897 有谁对网络比较了解,给偶看看 谢谢了 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE