diff --git a/Sources/Socket.swift b/Sources/Socket.swift index f264d21..f49635b 100644 --- a/Sources/Socket.swift +++ b/Sources/Socket.swift @@ -35,8 +35,8 @@ public typealias Byte = UInt8 open class Socket { public let address: String - public var port: Int32 - public var fd: Int32? + internal(set) public var port: Int32 + internal(set) public var fd: Int32? public init(address: String, port: Int32) { self.address = address