Browse Source

*** empty log message ***

Pascal Peridont 19 years ago
parent
commit
687daeff65
1 changed files with 2 additions and 2 deletions
  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);
 		}