-
Notifications
You must be signed in to change notification settings - Fork 1
Server Class
David Hagar edited this page Jun 20, 2016
·
4 revisions
Stores all the information needed to connect to a single IRC server.
server.Server(host, port, ssl)
Accepts 3 inputs:
- host : Server IP / Hostname (string)
- port : Connection Port (int)
- ssl : Whether the server should be connected to using SSL or not (bool)
server.Server.host
Stores a str, the name or IP address of the server to be connected to.
server.Server.port
Stores an int, the numeric port of the server to be connected.
server.Server.ssl
Stores a bool, whether or not to use SSL in the connection.
None