ijetty

Android Peer-to-Peer Connection

落爺英雄遲暮 提交于 2020-01-17 07:15:04
问题 I need to make a peer-to-peer connection between two android phones running i-jetty web server through gprs channel.But many mobile operators block the inbound connections to the phones.Is there any way around it? 回答1: NAT penetration is complex enough that you really shouldn't mess with it until you're quite familiar with the internals of networking. The autonomous NAT traversal used by pwnat is pretty much the state of the art these days. The basic idea is to use the fact that a router

Android Peer-to-Peer Connection

一个人想着一个人 提交于 2020-01-17 07:14:02
问题 I need to make a peer-to-peer connection between two android phones running i-jetty web server through gprs channel.But many mobile operators block the inbound connections to the phones.Is there any way around it? 回答1: NAT penetration is complex enough that you really shouldn't mess with it until you're quite familiar with the internals of networking. The autonomous NAT traversal used by pwnat is pretty much the state of the art these days. The basic idea is to use the fact that a router

How to embed i-jetty server into android application?

别来无恙 提交于 2019-12-03 06:02:29
问题 Hi: I want to integrate i-jetty into an Android application and not the other way around. Has anyone included i-jetty before and got it to run under Android 2.1 or 2.2? 回答1: I successfully managed to integrate I-Jetty into my application, for anyone out there who is still hoping to do so. So basically what I did is I downloaded the i-jetty source code and imported it as a maven project in eclipse. Then I added a module to the parent pom.xml that points to a webapp maven module I made: