Using SocketConnection and SecureConnection in J2ME to send emails.
Posted on 2007-07-24
I want to know if there's a big different If I use second parameter in the .open method of the Connector Class in j2me to open a connection. I was wondering if this helps in the communication between my client application and the server.
sc = (SocketConnection) Connector.open("socket://" + smtpServerAddress + ":25");
sc = (SocketConnection) Connector.open("socket://" + smtpServerAddress + ":25", Connector.WRITE);
Also I want to know if instead of SocketConnection I can use SecureConnection and what would be the difference ?
Can someone tell me how the secure connection really works ?