1
wyntergreg 2016-10-11 10:34:06 +08:00
艾屁冒号炮特
|
2
calease 2016-10-11 10:37:41 +08:00 1
socket
|
3
lrh3321 2016-10-11 10:40:17 +08:00
IPEndPoint
|
4
bugmenein 2016-10-11 10:41:25 +08:00
不如直接提整个 URI ( https://en.wikipedia.org/wiki/Uniform_Resource_Identifier)?
scheme:[//[user:password@]host[:port]][/]path[?query][#fragment] |
6
airqj 2016-10-11 10:48:42 +08:00
服务
|
7
onlyice 2016-10-11 10:48:45 +08:00
endpoint
|
8
shlabc 2016-10-11 10:49:03 +08:00
hostmame+port=host
|
9
xderam 2016-10-11 10:53:47 +08:00
二元组?
|
10
shoaly 2016-10-11 10:57:51 +08:00
endpoint+1
|
11
timothyqiu 2016-10-11 11:06:15 +08:00 1
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. |
12
sutra 2016-10-11 11:42:49 +08:00
套接字
哈哈哈,这个翻译很强大。 |
13
miaoever 2016-10-11 11:52:13 +08:00
socket
|
14
zungmou OP @timothyqiu 虽然可以叫 soket, 但是感觉没有人会在代码里这样命名吧?
|
15
shiji 2016-10-11 13:45:32 +08:00
socket address
|
16
shiji 2016-10-11 13:52:59 +08:00
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. |
17
sobigfish 2016-10-11 14:17:38 +08:00
URI 和 socket 都是特定使用的场景的叫法,叫法也只有按场景来吧
|
18
bigpigeon 2016-10-11 14:30:03 +08:00
tcp/ip
|
19
qfdk 2016-10-11 14:49:29 +08:00 via iPhone
代理
|
21
Tink 2016-10-11 15:09:53 +08:00 via iPhone
proxy
|
23
sutra 2016-10-11 18:50:57 +08:00
let アドレス = "114.114.114.114:53"
|
24
sutra 2016-10-11 18:51:47 +08:00
不过这个实例里是个 DNS 地址嘛。
所以就 let dnsServerAddress = "114.114.114.114:53" |