ConnectKit
서로 다른 네트워크의 기기를 직접 연결하는 클라이언트 SDK입니다. NAT 홀펀칭, 종단간 암호화, 릴레이 자동 폴백까지 한 번에 처리합니다.
개발자 라이브러리
핵심 기능
🕳️ NAT 홀펀칭
가능한 경로는 P2P 직결로, 불가능하면 릴레이로 자동 폴백해 어떤 네트워크에서도 연결됩니다.
🔐 종단간 암호화
AES-256-GCM 기반 종단간 암호화와 안전한 키 교환(J-PAKE)으로 중간 경로에서 내용을 볼 수 없습니다.
🔗 ServerKit 연동
ServerKit 코디네이터·릴레이·게이트웨이와 동일한 와이어 프로토콜로 곧바로 연동됩니다.
🧰 간결한 API
연결·재시도·경로 선택의 복잡함을 감추고, 앱에서는 간단한 API로 스트림을 주고받습니다.
이럴 때 씁니다
- 원격 접속·원격 제어 클라이언트를 직접 만들 때
- IoT·산업 장비를 방화벽 뒤에서 안전하게 연결할 때
- 외부 클라우드를 거치지 않는 기기 간 직접 통신이 필요할 때
ConnectKit
A client SDK that connects devices on different networks directly — NAT hole-punching, end-to-end encryption and automatic relay fallback, all handled for you.
Developer library
Core capabilities
🕳️ NAT hole-punching
Direct P2P where a path exists, automatic relay fallback where it doesn't — it connects on any network.
🔐 End-to-end encryption
AES-256-GCM end-to-end encryption with a secure key exchange (J-PAKE) — intermediaries can't read the content.
🔗 ServerKit integration
Speaks the same wire protocol as the ServerKit coordinator, relay and gateway — it just connects.
🧰 A simple API
The complexity of connect, retry and path selection is hidden — your app just exchanges streams over a small API.
Use it when
- You're building your own remote-access or remote-control client
- You need to connect IoT or industrial equipment safely from behind a firewall
- You want direct device-to-device communication that never goes through an outside cloud