# DiscoveredServer.init(socketPath:processID:sessionCount:)

- **Module:** DiscoveredServer
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/Discovery.swift#L15
- **Page:** https://libtmux.org/en/swift/latest/reference/discoveredserver-init(socketpath-processid-sessioncount-)/

```
DiscoveredServer.init(socketPath:processID:sessionCount:)(socketPath: String, processID: Int?, sessionCount: Int)
```
