抱歉,之前没审好题目,要连接远程啊,应该是用这个方法去创建一个通道的,我也没用过因为我们没做网口猫这个没具体研究过怎么使用,有需要的朋友自己研究下了
smslib源码下载地址:http://www.tenghengkeji.com/thread-79-1-1.html
IPModemGateway()
IPModemGateway
public IPModemGateway(java.lang.String id,
java.lang.String ipName,
int ipPort,
java.lang.String manufacturer,
java.lang.String model)
Construction for an IP connected gsm modem.
Parameters:
id - Your own ID for addressing this gateway.
ipName - The address to which the modem is listening, i.e. 10.0.0.200.
ipPort - The port to which the modem is listening, i.e. 8000
manufacturer - The manufacturer, for example "Multitech".
model - The model, for example "GSX" |