smtp服务器的名字,或者是ip地址吧
解决方案 »
- 本人收集,学习技术必不可少教程
- java.net.SocketException: No buffer space available (maximum connections reached?): connect
- ActionEvent怎样getPoint?
- 关于JMF的Processor的问题
- Javax.comm 无法获得输入流
- 请教将JFreechar嵌入GUI
- java打开网络中的流, 如何设置最长时间?
- 为什么main 前面要加 static?
- 很菜的问题:j2se可以做什么样的开发?
- 提问
- ◆◆在JBuilder下,为什么一单步执行程序,光标就进入到.class文件里了?◆◆
- uncaught exception是什么意思?不能捕捉的异常,OR没有捕捉到的异常?
public Socket(InetAddress address, int port) throws IOException
Parameters:
address - the IP address.
port - the port number. 第一个参数是IP,第二个是端口。你如果想构造一个Server程序,请考虑使用ServerSocket。