如何实现MTK设备端作为服务器,可以接受别的设备或者平台发起GPRS连接?
时间:10-02
整理:3721RD
点击:
各位大牛们,实现过或者知道怎么做的请帮我回答一下啊,万分感谢!
Bidirection mode: both platform Server and Tracker can act as TCP socket server, both platform Server can initiate a connection to Tracker and Tracker can initiate a connection to platform Server. GPRS module in Tracker can be opened always to assure wireless link available if platform Server want to initiate a connection to Tracker in anytime.
Bidirection mode: both platform Server and Tracker can act as TCP socket server, both platform Server can initiate a connection to Tracker and Tracker can initiate a connection to platform Server. GPRS module in Tracker can be opened always to assure wireless link available if platform Server want to initiate a connection to Tracker in anytime.
做服务器首先要有一个唯一的iP地址, 手机通过3G上网获取的是动态iP,
动态iP的话理论上也是可以来做服务器的, 不过要做动态域名解析,
像3g卡有些接入点就可以获取到动态IP, 这种方式理论上应该是可以实现,但如果
像wap接入点这种通过运营商网关(10.10.10.172)转接的方式是不可能实现的。
楼上兄弟应该对此很熟悉吧?因为是国外卡,每张卡都有一个独立的静态IP,是不是就可以直接bind、listen?