Statistics
| Branch: | Revision:

ml @ 0e902e25

Name Size Revision Age Author Comment
  stun_server a0a1f630 over 11 years KristianBeckers git-svn-id: https://repository.napa-wine.eu/svn...
  tests 6f256447 about 10 years TivadarSzemethy added default send_params to mlOpenConnection ...
  util fbb6e767 about 10 years MarcoBiazzini ML: some fixes to logging calls git-svn-id: ht...
Makefile.am 579 Bytes 2f28ee21 about 10 years MarcoBiazzini ML : recovering logging fixes git-svn-id: http...
Makefile.nec 398 Bytes 7027db40 over 11 years TivadarSzemethy Modified ml/Makefile structure for automake gi...
README 1.55 KB d6a420ed about 11 years CsabaKiraly ML: readme changes git-svn-id: https://reposit...
ml.c 52.7 KB 0e902e25 about 10 years CsabaKiraly ML: fix message receive timeout mechanism Ther...
ml_log.h 726 Bytes 1f6a6666 about 10 years MarcoBiazzini ML : minor fixes git-svn-id: https://repositor...
transmissionHandler.c 54 KB da5dade7 about 10 years MarcoBiazzini ml restyling git-svn-id: https://repository.na...
transmissionHandler.h 16 KB 0e902e25 about 10 years CsabaKiraly ML: fix message receive timeout mechanism Ther...

Latest revisions

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

ML: fix message receive timeout mechanism

There was an error when a message was received, the buffer was reallocated
and later the timeout for the first message fired.
This event manipulated the data of the new event ....

I've also eliminated the second (INACTIVE) timeout. It was not used for...

28c32e01 03/07/2011 04:37 PM CsabaKiraly

ML: fix compilation warning

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

1f6a6666 03/07/2011 04:37 PM MarcoBiazzini

ML : minor fixes

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

98ba8deb 03/07/2011 04:37 PM CsabaKiraly

ML: enable changing STUN while trying to re-connect to the STUN server

the receive local socketID callback returns 2 if the
connection to the STUN server failed. At this point,
the STUN server can be changed (or removed), and the
next try will go to the new STUN server...

ff683f7d 03/07/2011 04:37 PM CsabaKiraly

ML: fixed uninitialized bytes in connection message

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

0b960be3 03/07/2011 04:37 PM CsabaKiraly

ML: change header to packed

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

993886fe 03/07/2011 04:37 PM CsabaKiraly

ML: fixed malloc size in send_msg

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

2f28ee21 03/07/2011 04:37 PM MarcoBiazzini

ML : recovering logging fixes

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

fbb6e767 03/07/2011 04:37 PM MarcoBiazzini

ML: some fixes to logging calls

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

8cf56167 03/07/2011 04:37 PM MarcoBiazzini

ML : decoupling dclog from ml in Makefile

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