Statistics
| Branch: | Revision:

ml @ b6b8c19a

Name Size Revision Age Author Comment
  stun_server a0a1f630 about 11 years KristianBeckers git-svn-id: https://repository.napa-wine.eu/svn...
  tests 6f256447 over 9 years TivadarSzemethy added default send_params to mlOpenConnection ...
  util a7fc92ab over 9 years CsabaKiraly ML: fix an error in socket error handling retu...
Makefile.am 581 Bytes 6f26b958 over 9 years MarcoBiazzini ML : some cleanings git-svn-id: https://reposi...
Makefile.nec 398 Bytes 7027db40 about 11 years TivadarSzemethy Modified ml/Makefile structure for automake gi...
README 1.55 KB d6a420ed almost 11 years CsabaKiraly ML: readme changes git-svn-id: https://reposit...
ml.c 59.6 KB b6b8c19a over 9 years CsabaKiraly ML: fix calculation for verifying whole msg arr...
ml_log.h 729 Bytes f081b938 over 9 years CsabaKiraly Merge branch 'ML-fixes' git-svn-id: https://re...
transmissionHandler.h 16 KB c6898c39 over 9 years RobertBirke ML: added some mem initialisation git-svn-id: ...

Latest revisions

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

ML: fix calculation for verifying whole msg arrival

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

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

ML: corrected frag/defrag code again

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

c220a4cb 03/07/2011 04:37 PM CsabaKiraly

ML: initalize all bytes of sockaddr values

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

a7fc92ab 03/07/2011 04:37 PM CsabaKiraly

ML: fix an error in socket error handling

return value of recvmsg was not checked

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

c6898c39 03/07/2011 04:37 PM RobertBirke

ML: added some mem initialisation

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

1f8ebe96 03/07/2011 04:37 PM RobertBirke

ML: corrected frag/defrag code

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

60dca067 03/07/2011 04:37 PM RobertBirke

ML: corected bug in chunk frag code

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

e17edb88 03/07/2011 04:37 PM RobertBirke

ML: MONL callbacks are always called even if not header is present (needed for measure like RX packets which do not need a header set by remote peer)

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

6e975aa4 03/07/2011 04:37 PM CsabaKiraly

ML: fix memleak at receive timeout

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

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

ML: fixed pmtu timeout increase

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/GRAPES/ml@828 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