資源簡介
DOS下的TCP-IP協議庫文件原代碼
協議
DOS下的TCP-IP協議庫文件原代碼.rar

代碼片段和文件信息
/*
?*?$Header:???H:\devkit.dos\vcs\srclib\socket\src\connect.c_v???1.16???06?Oct?1994?14:24:26???paul??$
?*/
/*
?*?CONNECT.C?-?Emulate?4BSD?connect()?function.
?*
?*?Copyright?(C)?1987-1994?by?FTP?Software?Inc.??All?rights?reserved
?*
?*?This?software?is?furnished?under?a?license?and?may?be?used?and?copied
?*?only?in?accordance?with?the?terms?of?such?license?and?with?the
?*?inclusion?of?the?above?copyright?notice.?This?software?or?any?other
?*?copies?thereof?may?not?be?provided?or?otherwise?made?available?to?any
?*?other?person.?No?title?to?and?ownership?of?the?software?is?hereby
?*?transferred.
?*
?*?The?information?in?this?software?is?subject?to?change?without?notice
?*?and?should?not?be?construed?as?a?commitment?by?FTP?Software?Inc.
?*
?*?Edit?History
?*???-Jul-87 philip Written
?*?20-Sep-87 romkey Did??something?
?*?02-Oct-87 jbvb Correct?error?return?on?RST?per?HP.
?*?13-Oct-87 jbvb Normal?error?return?on?IP?address?of?0.0.0.0
?*?05-Nov-87 jbvb Return?ENOBUFS?for?kernel?NET_ERR_NOMEM
?*?07-Dec-87 jbvb Change?check?for?0.0.0.0?since?HP?said?earlier?try
?* ?didn‘t?work.
?*?14-Dec-87 jbvb If?options?set?on?the?socket?do?a?set_option()?before
?* ?doing?the?net_listen().
?*?18-Dec-87 jbvb Finally?understand?whole?scope?of?Philip‘s?lossage:
?* ?The?SADDR()?macro?is?baroque?but?entrenched.
?* jbvb I?tracked?one?of?Philip‘s?crocks?-?fix?it?&?fix?#807.
?*?14-Jan-88 jbvb Don‘t?allow?connect?to?port?0?on?STREAM.??HP?#955
?*?18-Jan-88 jbvb Require?“name“?arg?and?exact?match?on?“namelen“.
?* ?Fixes?HP?#928.
?*?23?AUG?89 stev fixed?compiler?warning?about?types?mismatch?on?
?* ?routines?using?sockaddr_in?here?but?sockaddr?
?* ?in?the?header?file.
?* fixed?cast?in?call?to?set_option()
?*?12-SEP-89 stev progress?progresses?slowly?.?.?.?.?add?seperation
?* ?of?EBADF?(not?a?descriptor)?and?ENOTSOCK?(descriptor
?* ?is?a?file?not?a?socket)
?*?26-Jul-91 wcl Fixed?debugging?message?where?we?were?printing?out
?* ?->type?as?a?string?(now?%d).
?*?07-Nov-91 paul changed?to?new-style?function?declarators
?* added?function?return?types
?* changed?forever?loops?from?while(1)?to?for(;;)
?*?25-Feb-92 paul moved?include?stat.h?(vendor-supplied)?before
?* ?our?headers?to?avoid?redefinition?of?stat?flags
?* removed?unused?local?var?‘result‘?from?connect()
?*?04-Apr-92????rcq?????added?init?of?local?port?(addr.lsocket)?to?the
?*??????????????????????“wildcard“?(0)?if?not?already?bound
?*?14-Aug-92????rcq?????updated?the?copyright?in?comments
?*?09-Sep-92 rcq replaced?call?to?panic()?with?return(-1)
?*?11-Sep-92 rcq check?with?kernel?(with?peek?read)?when?non-blocking
?* socket?is?trying?to?connect?(to?report?a?valid?state).
?*?15-Sep-92 rcq eliminated?set_option()?if?NET_FLG_NONBLOCKING?set
?* since?ioctl()?&?fcntl()?now?do?it.
?*?02-Nov-92????rcq?????don‘t?return?EINPROGRESS?if?DGRAM
?*?12-Nov-92 rcq surrounded?pneterror()?with?“ifdef?DEBUG“
?*?18-Mar-93 rcq added?error?par
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄??????????0??2000-07-16?20:06??pctcp
?????目錄??????????0??2000-07-16?20:06??pctcp\sdk
?????目錄??????????0??2000-07-16?20:06??pctcp\sdk\source
?????目錄??????????0??2000-07-16?20:06??pctcp\sdk\source\library
?????目錄??????????0??2000-07-16?20:06??pctcp\sdk\source\library\socket
?????目錄??????????0??2000-07-16?20:06??pctcp\sdk\include
?????目錄??????????0??2000-07-16?20:06??pctcp\sdk\include\arpa
?????目錄??????????0??2000-07-16?20:06??pctcp\sdk\include\sys
?????目錄??????????0??2000-07-16?20:06??pctcp\sdk\include\netinet
?????目錄??????????0??2000-07-16?20:06??pctcp\sdk\include\pctcp
?????目錄??????????0??2000-07-16?20:06??pctcp\sdk\netbcc
?????文件???????8567??2001-06-11?17:21??pctcp\sdk\source\library\socket\GETHOSTN.C
?????文件???????1466??2001-06-11?17:21??pctcp\sdk\source\library\socket\4BSDCONF.H
?????文件???????9077??2001-06-11?17:21??pctcp\sdk\source\library\socket\ACCEPT.C
?????文件???????6961??2001-06-11?17:21??pctcp\sdk\source\library\socket\BIND.C
?????文件???????3164??2001-06-11?17:21??pctcp\sdk\source\library\socket\BUGHALT.C
?????文件??????12599??2001-06-11?17:21??pctcp\sdk\source\library\socket\CLOSE.C
?????文件???????5037??2001-06-11?17:21??pctcp\sdk\source\library\socket\DUMP.C
?????文件???????4235??2001-06-11?17:21??pctcp\sdk\source\library\socket\FCNTL.C
?????文件???????3108??2001-06-11?17:21??pctcp\sdk\source\library\socket\GETETCDI.C
?????文件???????6936??2001-06-11?17:21??pctcp\sdk\source\library\socket\GETHOSTE.C
?????文件???????4486??2001-06-11?17:21??pctcp\sdk\source\library\socket\GETHOSTI.C
?????文件???????5310??2001-06-11?17:21??pctcp\sdk\source\library\socket\4BSD.H
?????文件???????7137??2001-06-11?17:21??pctcp\sdk\source\library\socket\GETPROTE.C
?????文件???????7650??2001-06-11?17:21??pctcp\sdk\source\library\socket\GETSERVE.C
?????文件???????5638??2001-06-11?17:21??pctcp\sdk\source\library\socket\GETSOCKN.C
?????文件??????14760??2001-06-11?17:21??pctcp\sdk\source\library\socket\GETSOCKO.C
?????文件???????4224??2001-06-11?17:21??pctcp\sdk\source\library\socket\GETTIMEO.C
?????文件???????2525??2001-06-11?17:21??pctcp\sdk\source\library\socket\GLOBALS.C
?????文件???????4454??2001-06-11?17:21??pctcp\sdk\source\library\socket\INET.C
............此處省略132個文件信息
- 上一篇:泛函分析講義下冊第六章習題解答
- 下一篇:PCA結合馬氏距離
評論
共有 條評論