Statistics
| Branch: | Revision:

ml @ f44085b3

Name Size Revision Age Author Comment
  old a3fd121c almost 12 years RobertBirke Some bug corrections in ML git-svn-id: https:/...
  stun_server a0a1f630 almost 12 years KristianBeckers git-svn-id: https://repository.napa-wine.eu/svn...
  tests 8a56d126 over 10 years CsabaKiraly fixed lock-up in nat-test startup git-svn-id: ...
  util 632a8477 over 10 years CsabaKiraly ML: fixed description (meaning of NULL) of crea...
Makefile.am 576 Bytes f44085b3 over 10 years TivadarSzemethy minor build tweaks git-svn-id: https://reposit...
Makefile.nec 398 Bytes 7027db40 almost 12 years TivadarSzemethy Modified ml/Makefile structure for automake gi...
README 1.55 KB d6a420ed over 11 years CsabaKiraly ML: readme changes git-svn-id: https://reposit...
ml.c 6.02 KB 7455d709 over 11 years TivadarSzemethy minor tweaks git-svn-id: https://repository.na...
ml_log.h 677 Bytes 118b1b87 over 11 years TivadarSzemethy code cleanup git-svn-id: https://repository.na...
transmissionHandler.c 50.2 KB bde41184 over 10 years CsabaKiraly ML: made stun server optional if stun server i...
transmissionHandler.h 15.5 KB bde41184 over 10 years CsabaKiraly ML: made stun server optional if stun server i...

Latest revisions

# Date Author Comment
f44085b3 03/07/2011 04:37 PM TivadarSzemethy

minor build tweaks

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

bde41184 03/07/2011 04:37 PM CsabaKiraly

ML: made stun server optional

if stun server is not defined, the peer assumes that its
external IP address and port is the same as the internal one

From: CsabaKiraly <CsabaKiraly@a72f678d-4428-462c-85b4-08f063ced704>

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

fa71e35e 03/07/2011 04:37 PM CsabaKiraly

ML: added local IP address auto-detection to init

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

632a8477 03/07/2011 04:37 PM CsabaKiraly

ML: fixed description (meaning of NULL) of createSocket

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

86f87418 03/07/2011 04:37 PM TivadarSzemethy

typo fixes and disable chunk_trading_test

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

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

fixed lock-up in nat-test startup

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

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

ML: nat-test: improved test scripts and scenarios

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

b83e5428 03/07/2011 04:37 PM CsabaKiraly

ML: moved testfile to place

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

4c2e6802 03/07/2011 04:37 PM TivadarSzemethy

ip address autodetect

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

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

ML: changed last parameter of receive_data_cb to typed pointer from void*

there was no reason to use void*, since the structure was specified in the API

From: CsabaKiraly <CsabaKiraly@a72f678d-4428-462c-85b4-08f063ced704>

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