Skip to content

MSocket Wiki

ayadavumass edited this page Oct 11, 2016 · 6 revisions

Overview

MSocket is a java socket library that is compatible with android and any JVM supporting machine.

It supports:

  1. Connection mobility: pre-lookup, connect time, individual and simultaneous mobility.

  2. Multi-homed & multipath communication.

  3. Mobile-to-Mobile communication: relaying behind NATs via proxies.

Simple desktop example

A hello world server client example using MSocket is on Desktop example page.

Simple example application for android

pending

MSocket library code and documentation

Code

MSocket code is open source and can be cloned from Code repository.

Instructions to compile MSocket jar are as follows.

Go to the msocket top level directory that contains build.xml file and compile the source using ant jar. Compiled jars are in jars folder. The following two msocket jars are generated.

  1. msocket-1.0.0.jar contains MSocket and MServerSocket classes.

  2. msocket-proxy-console-1.0.0.jar contains the dproxy related classes.

Documentation

MSocket javadoc is avaiable JavaDoc

Related publications

People