Statistics
| Branch: | Revision:

napa-baselibs / ml @ e05f904b

Name Size Revision Age Author Comment
  include a41a46e8 about 11 years RobertBirke ML: added support for log verbosity: new fucnti...
  stun_server 956892f0 over 11 years ArpadBakay New directory structure + build-all.sh that bui...
  tests 956892f0 over 11 years ArpadBakay New directory structure + build-all.sh that bui...
  util e05f904b about 11 years MarcoMellia corrected a wrong cast in a info() git-svn-id:...
Makefile.am 680 Bytes a41a46e8 about 11 years RobertBirke ML: added support for log verbosity: new fucnti...
Makefile.nec 398 Bytes 956892f0 over 11 years ArpadBakay New directory structure + build-all.sh that bui...
README 1.55 KB 956892f0 over 11 years ArpadBakay New directory structure + build-all.sh that bui...
autoclean.sh 188 Bytes 956892f0 over 11 years ArpadBakay New directory structure + build-all.sh that bui...
autogen.sh 75 Bytes 956892f0 over 11 years ArpadBakay New directory structure + build-all.sh that bui...
configure.ac 900 Bytes 956892f0 over 11 years ArpadBakay New directory structure + build-all.sh that bui...
ml.c 62.9 KB a41a46e8 about 11 years RobertBirke ML: added support for log verbosity: new fucnti...
ml_log.c 115 Bytes a41a46e8 about 11 years RobertBirke ML: added support for log verbosity: new fucnti...
ml_log.h 894 Bytes a41a46e8 about 11 years RobertBirke ML: added support for log verbosity: new fucnti...
transmissionHandler.h 16 KB c1d7ce35 about 11 years ArpadBakay Changes for windows support git-svn-id: https:...

Latest revisions

# Date Author Comment
e05f904b 09/28/2010 12:54 PM MarcoMellia

corrected a wrong cast in a info()

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

1497e761 09/27/2010 04:11 PM MarcoMellia

corrected a wrong printf argument that was causing a warning

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

a41a46e8 09/22/2010 04:18 PM RobertBirke

ML: added support for log verbosity: new fucntion mlSetVerbosity to set verbosity of ML

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

681d74de 09/21/2010 03:49 PM RobertBirke

Workaround to make MAC clients able to speak with Linux sources due to wrong socketId initialisation

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

7033967d 09/19/2010 04:40 PM MarcoMellia

fixed a problem on MAC_OS with create socket due to struct sockaddr_in being dirty

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

fa5e477b 09/19/2010 11:59 AM MarcoMellia

corrected debug() call

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

2353e086 09/19/2010 11:35 AM MarcoMellia

removed some fprintf left for debugging

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

5caead87 09/19/2010 11:32 AM MarcoMellia

removed some fprintf left for debugging

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

c1d7ce35 09/16/2010 11:57 AM ArpadBakay

Changes for windows support

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

ba73fb2a 09/16/2010 10:54 AM RobertBirke

Added better support to the MAC_OS flag of build_all.sh

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

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