Statistics
| Branch: | Revision:

ml @ 9f09d1ae

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 e5a04498 about 10 years CsabaKiraly ML: minor changes in reception code git-svn-id...
Makefile.am 581 Bytes 6f26b958 about 10 years MarcoBiazzini ML : some cleanings git-svn-id: https://reposi...
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 58.3 KB 9f09d1ae about 10 years CsabaKiraly ML: added some detail to debug messages git-sv...
ml_log.h 729 Bytes f081b938 about 10 years CsabaKiraly Merge branch 'ML-fixes' git-svn-id: https://re...
transmissionHandler.h 15.9 KB d5b9b14d about 10 years CsabaKiraly ML: changed how connection messages time out (p...

Latest revisions

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

ML: added some detail to debug messages

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

85d76bea 03/07/2011 04:37 PM CsabaKiraly

ML: adding some detail to info output

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

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

ML: just renaming a parameter of recv_conn_msg to be more clear

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

ac550b87 03/07/2011 04:37 PM CsabaKiraly

ML: fixing PMTU reduction wothout error check in send_msg

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

dceb891e 03/07/2011 04:37 PM CsabaKiraly

ML: set timeout_event to NULL after freeing

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

064b7828 03/07/2011 04:37 PM CsabaKiraly

ML: fix PMTU decrement code to handle unknown values

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

3a2f1e38 03/07/2011 04:37 PM CsabaKiraly

ML: fixing packet size in connect message

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

e56673ab 03/07/2011 04:37 PM CsabaKiraly

ML: fixing memory leak due to uninitialized timeout_event

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

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

ML: adding some debug/info output

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

d5b9b14d 03/07/2011 04:37 PM CsabaKiraly

ML: changed how connection messages time out (pmtu timeouts)

connection messages are sent in UDP and also double as PMTU discovery.
Except for INVITE, losses were not handled. Now they are.
PMTU was assumed to be symmetric. Now it is not assumed anymore....

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