DWDrmServer Class Reference
Inherits from | NSObject |
---|---|
Declared in | DWDrmServer.h DWDrmServer.m |
listenPort
若 server 启动成功,listenPort 为server绑定的端口。
@property (assign, nonatomic, readonly) UInt16 listenPort
Declared In
DWDrmServer.h
– initWithListenPort:
初始化 DWDrmServer
- (id)initWithListenPort:(UInt16)port
Parameters
port |
指定 drmServer 监听的端口。 若port不为0,则绑定指定端口。若绑定失败,则转由内核分配。 |
---|
Return Value
返回一个 DWDrmServer 实例
Declared In
DWDrmServer.h