Statistics
| Branch: | Revision:

ml @ 56e587ec

Name Size Revision Age Author Comment
  include 51e91558 about 9 years CsabaKiraly ML: moving ml.h inside ML git-svn-id: https://...
  stun_server a0a1f630 over 10 years KristianBeckers git-svn-id: https://repository.napa-wine.eu/svn...
  tests 56e587ec about 9 years CsabaKiraly ML: fixing some dependencies git-svn-id: https...
  util 4a7e268d about 9 years CsabaKiraly change UDP send error message to info level gi...
Makefile.am 633 Bytes 37b675ab about 9 years CsabaKiraly disabling tests temporarily it was referencing...
Makefile.nec 398 Bytes 7027db40 over 10 years TivadarSzemethy Modified ml/Makefile structure for automake gi...
README 1.55 KB d6a420ed over 10 years CsabaKiraly ML: readme changes git-svn-id: https://reposit...
autoclean.sh 188 Bytes ea4779e1 about 9 years CsabaKiraly ML: making ML independent git-svn-id: https://...
autogen.sh 75 Bytes ea4779e1 about 9 years CsabaKiraly ML: making ML independent git-svn-id: https://...
configure.ac 900 Bytes ea4779e1 about 9 years CsabaKiraly ML: making ML independent git-svn-id: https://...
ml.c 61.5 KB 9bf9c247 about 9 years CsabaKiraly ML: moving KEEPALIVE messagetype inside ml.c i...
ml_log.h 849 Bytes 8d8f492a about 9 years CsabaKiraly ML: log time as well git-svn-id: https://repos...
transmissionHandler.h 16 KB 4132f78a about 9 years RobertBirke ML: 1) added network to host and host to networ...

Latest revisions

# Date Author Comment
56e587ec 03/07/2011 04:37 PM CsabaKiraly

ML: fixing some dependencies

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES/ml@1474 c54fac2e-1815-407e-9b96-088d06743913

37b675ab 03/07/2011 04:37 PM CsabaKiraly

disabling tests temporarily

it was referencing some internal headers, that it should not do

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES/ml@1472 c54fac2e-1815-407e-9b96-088d06743913

51e91558 03/07/2011 04:37 PM CsabaKiraly

ML: moving ml.h inside ML

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES/ml@1470 c54fac2e-1815-407e-9b96-088d06743913

ea4779e1 03/07/2011 04:37 PM CsabaKiraly

ML: making ML independent

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES/ml@1469 c54fac2e-1815-407e-9b96-088d06743913

9bf9c247 03/07/2011 04:37 PM CsabaKiraly

ML: moving KEEPALIVE messagetype inside ml.c

it is onternal to ML, no reason to expose it

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES/ml@1468 c54fac2e-1815-407e-9b96-088d06743913

8d8f492a 03/07/2011 04:37 PM CsabaKiraly

ML: log time as well

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES/ml@1267 c54fac2e-1815-407e-9b96-088d06743913

028bda1f 03/07/2011 04:37 PM CsabaKiraly

ML: minor syntax fixes

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES/ml@1266 c54fac2e-1815-407e-9b96-088d06743913

80ad8028 03/07/2011 04:37 PM CsabaKiraly

fixed problem with resetting MTU, it wasn't reset to the current default one

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES/ml@1261 c54fac2e-1815-407e-9b96-088d06743913

a4d4fc7c 03/07/2011 04:37 PM CsabaKiraly

ML: reduced number of MTU levels

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES/ml@1260 c54fac2e-1815-407e-9b96-088d06743913

4132f78a 03/07/2011 04:37 PM RobertBirke

ML: 1) added network to host and host to network convertion for the ML header fields (to avoid endiness problems on the ML header) 2) hopefully better ML header memory allignmnet 3) changed DIST_HEADER_SIZE from constant to sizeof()

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES/ml@1131 c54fac2e-1815-407e-9b96-088d06743913

View all revisions | View revisions

README


This is an short explaination for the messaging layer library. The library requires the libevent library in the version 2.0.1 alpha and the C math library. The library is implemented in C and works in unix/linux. It is tested with Ubuntu 8.04. The library can be compile with ./make. This library is a network layer abstraction for p2p systems, that has the primitives: - connect to a peer - send arbitrary size data to a peer Furthermore, it provides the functionalites: - pmtu discovery - NAT traversal - data fragmentation and reassembly The library has six source code files: messagingLayer.h messagingLayer.c transmissionHandler.h transmissionHandlder.c stun.h stun.c udpSocket.h udpSocket.c The files stun.h stun.c udpSocket.h udpSocket.c are placed in the subfolder "util". The messagingLayer.h and messagingLayer.c files contain the functions of the API. These files are only wrapper files for function in the transmissionHandler.h and transmissionHandler.c files. The files transmissionHandler.h and transmissionHandler.c have the main functionality of the messaging layer. For simplicity several functionalites were excluded into utility files stun.h, stun.c, udpSocket.h ,and udpSocket.c . Stun.h and stun.c contain the NAT traversal functionality according to STUN. They are used by the transmissionHandler to implement a STUN client. The udpSocket.h and udpSocket.c files contain a udp socket abstraction. In the current implementation the file works only with a unix socket. The tests folder contains various test programs and usage eexample code.

Also available in: Atom