Mailroom.Socket.connect
You're seeing just the function
connect
, go back to Mailroom.Socket module for more information.
Specs
Connect to a TCP server
on port
The following options are available:
ssl
- defaultfalse
, connect via SSL or nottimeout
- default15000
, sets the socket connect and receive timeoutdebug
- defaultfalse
, if true, will print out connection communication
Examples
{:ok, socket} = Mailroom.Socket.connect("localhost", 110, ssl: true)