跳转至内容

AnyLang编程语言比较/附录:PLEAC交叉参考:套接字

来自Wikibooks,开放世界中的开放书籍

套接字

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

编写TCP客户端

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

编写TCP服务器

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

通过TCP通信

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

设置UDP客户端

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

设置UDP服务器

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

使用UNIX域套接字

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

识别套接字的另一端

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

查找您自己的名称和地址

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

分叉后关闭套接字

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

编写双向客户端

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

分叉服务器

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

预分叉服务器

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

非分叉服务器

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

编写多宿主服务器

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

创建守护进程服务器

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

按需重启服务器

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

程序:backsniff

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    

程序:fwdport

[编辑 | 编辑源代码]
ada c++ commonlisp cposix erlang factor forth
groovy guile haskell haskell-on-steroids java masd merd
nasm ocaml perl php pike pliant python
R rexx ruby smalltalk tcl    
华夏公益教科书