浏览代码

*** empty log message ***

Pascal Peridont 19 年之前
父节点
当前提交
687daeff65
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      std/mtwin/mail/imap/Connection.hx

+ 2 - 2
std/mtwin/mail/imap/Connection.hx

@@ -24,7 +24,7 @@
  */
 package mtwin.mail.imap;
 
-import neko.io.Socket;
+import neko.net.Socket;
 import mtwin.mail.Exception;
 import mtwin.mail.imap.Tools;
 
@@ -95,7 +95,7 @@ class Connection {
 		if( port == null ) port = 143;
 		cnx = new Socket();
 		try{
-			cnx.connect( Socket.resolve(host), port );
+			cnx.connect( new neko.net.Host(host), port );
 		}catch( e : Dynamic ){
 			throw ConnectionError(host,port);
 		}