More fleshing out of networking

This commit is contained in:
2020-05-09 09:56:03 -05:00
parent bae6a6a332
commit e94f2582f9
7 changed files with 61 additions and 25 deletions

View File

@@ -1,8 +1,8 @@
class IMICFPS
module Networking
MAX_CLIENTS = 32
class Server
MAX_CLIENTS = 32
attr_reader :hostname, :port, :max_clients, :clients
def initialize(hostname:, port:, max_clients: MAX_CLIENTS)
@hostname = hostname