Ios swift – Unable to connect to POP3 server swift
I'm trying to connect to POP3 Server using Swift. Here is my code, I have used InputStream and OutputStream. import Foundation class Pop3Client{ var inputStream: InputStream! var outputStream: OutputStream! init(host: String,port: Int){ Stream.getStreamsToHost(withName: host, port: port, inputStream: &inputStream, outputStream: &outputStream)…