3530, tetapi keluar error
"javax.microedition.io.ConnectionNotFoundException:The requested protocol
does not exist socket://pop.hotpop.com:110"
Pada saat saya coba di Handphone selain Nokia, masalah tersebut tidak
terjadi, apakah ada yang tahu bagaimana cara menyelesaikan masalah itu?
Di bawah ini potongan program saya :
import java.util.*;
import javax.microedition.io.*;
import javax.microedition.lcdui.*;
import java.io.*;
public class SMTPSender extends Canvas implements CommandListener {
public SMTPSender() {
try {
SocketConnection SambungPOP;
SambungPOP = (SocketConnection)
Connector.open("socket://pop.hotpop.com:110");
SambungPOP.setSocketOption(SocketConnection.LINGER, 10);
SambungPOP.close();
} catch (IOException ioe){
Alert infoku = new Alert("Error",ioe.toString(),null,AlertType.INFO);
infoku.setTimeout(Alert.FOREVER);
display.setCurrent(infoku);
}
}
}
Kalau mau keluar dari mailing list ini, caranya kirim sebuah email ke [EMAIL PROTECTED]
Jangan lupa, website JUG Indonesia adalah http://www.jug.or.id
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/jug-indonesia/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
