例如 114.114.114.114:53 这种形式,该怎么称呼?
|
wyntergregOct 11, 2016
1
艾屁冒号炮特
|
|
2
socket
|
|
lrh3321Oct 11, 2016
3
IPEndPoint
|
|
bugmeneinOct 11, 2016
4
不如直接提整个 URI ( https://en.wikipedia.org/wiki/Uniform_Resource_Identifier)?
scheme:[//[user:password@]host[:port]][/]path[?query][#fragment] |
|
airqjOct 11, 2016
6
服务
|
|
onlyiceOct 11, 2016
7
endpoint
|
|
shlabcOct 11, 2016
8
hostmame+port=host
|
|
xderamOct 11, 2016
9
二元组?
|
|
shoalyOct 11, 2016
10
endpoint+1
|
|
11
socket
根据 RFC 793 ( TCP ): > To allow for many processes within a single Host to use TCP communication facilities simultaneously, the TCP provides a set of addresses or ports within each host. Concatenated with the network and host addresses from the internet communication layer, this forms a socket. |
|
sutraOct 11, 2016
12
套接字
哈哈哈,这个翻译很强大。 |
|
miaoeverOct 11, 2016
13
socket
|
|
14
@timothyqiu 虽然可以叫 soket, 但是感觉没有人会在代码里这样命名吧?
|
|
shijiOct 11, 2016
15
socket address
|
|
shijiOct 11, 2016
16
socket address 的具体理由:
参见: https://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html https://docs.python.org/2/library/socket.html Socket addresses are represented as follows: A single string is used for the AF_UNIX address family. A pair (host, port) is used for the AF_INET address family, where host is a string representing either a hostname in Internet domain notation like 'daring.cwi.nl' or an IPv4 address like '100.50.200.5', and port is an integer. |
|
run2Oct 11, 2016
17
URI 和 socket 都是特定使用的场景的叫法,叫法也只有按场景来吧
|
|
bigpigeonOct 11, 2016
18
tcp/ip
|
|
19
代理
|
|
TinkOct 11, 2016 via iPhone
21
proxy
|
|
sutraOct 11, 2016
23
let アドレス = "114.114.114.114:53"
|
|
sutraOct 11, 2016
24
不过这个实例里是个 DNS 地址嘛。
所以就 let dnsServerAddress = "114.114.114.114:53" |