请问java socket 里面的bind做什么用?
socket.bind(SocketAddress bindpoint) 英文:Binds the socket to a local address;If the address is null, then the system will pick upan ephemeral port and a valid local address to bind the socket翻译:将socket绑定到本地地址;如果地址为空,系统会指定一个暂时的端口和合法的本地地址去绑定socket
标签:java,socket,bind