Statistics
| Branch: | Revision:

napa-baselibs / ml @ 5f3adef4

Name Size Revision Age Author Comment
  include 5f3adef4 about 10 years Csaba Kiraly reverting trunk head to r2142 changes in trunk...
  stun_server 956892f0 almost 11 years ArpadBakay New directory structure + build-all.sh that bui...
  tests 956892f0 almost 11 years ArpadBakay New directory structure + build-all.sh that bui...
  util 5f3adef4 about 10 years Csaba Kiraly reverting trunk head to r2142 changes in trunk...
Makefile.am 671 Bytes 5f3adef4 about 10 years Csaba Kiraly reverting trunk head to r2142 changes in trunk...
Makefile.nec 398 Bytes 956892f0 almost 11 years ArpadBakay New directory structure + build-all.sh that bui...
README 1.55 KB 956892f0 almost 11 years ArpadBakay New directory structure + build-all.sh that bui...
autoclean.sh 188 Bytes 956892f0 almost 11 years ArpadBakay New directory structure + build-all.sh that bui...
autogen.sh 75 Bytes 956892f0 almost 11 years ArpadBakay New directory structure + build-all.sh that bui...
configure.ac 900 Bytes 956892f0 almost 11 years ArpadBakay New directory structure + build-all.sh that bui...
ml.c 61.8 KB 5f3adef4 about 10 years Csaba Kiraly reverting trunk head to r2142 changes in trunk...
ml_log.h 849 Bytes 5f3adef4 about 10 years Csaba Kiraly reverting trunk head to r2142 changes in trunk...
transmissionHandler.h 16 KB 5f3adef4 about 10 years Csaba Kiraly reverting trunk head to r2142 changes in trunk...

Latest revisions

# Date Author Comment
5f3adef4 02/02/2011 08:06 PM Csaba Kiraly

reverting trunk head to r2142

changes in trunk were cleaned and ported first to winestreamer-0.9.x, then to portablestreamer, finally to portablestreamer-win
it seems better to roll back trunk and replace it with portablestreamer-win

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

0d897389 01/12/2011 07:03 PM SzymonKuc

ML: rateLimiter.c - changed the type of "leaked" variable to "unsigned int"

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

1859b483 01/12/2011 06:58 PM SzymonKuc

ML: rateLimiter.c - added the additional protecting condition when sending packets from queue.

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

d1048fe2 01/12/2011 06:28 PM SzymonKuc

ML: queueManagement.c - minor code enhancement in management of the transmission queue

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

aed33567 01/03/2011 04:09 PM TivadarSzemethy

build and snv cleanups

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

47516cd8 12/21/2010 03:14 PM SzymonKuc

ML: rateLimiter.c - change the type of the drain_rate: from 'int' to 'int64_t'. Solves the problem of overflow on 32-bits systems.

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

5f2c1ed6 12/06/2010 01:40 PM RobertBirke

ML: changed the units of rate control and RTX to make them more uniform: all queues are in bytes, all rates are in bits/s

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

7a18b5a7 11/22/2010 03:28 PM RobertBirke

Added some ifdefs for cleaner code if RTX is disabled

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

5de70798 11/12/2010 05:22 PM SzymonKuc

queueManagement.c, bugfix: Retransmitted packets were not destroyed (memory leakage).

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

45cc2362 11/12/2010 05:05 PM SzymonKuc

queueManagement.c, bugfix: RTX queue size was not limited properly to it's max value. Some cleanup of commented code.

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/trunk/NAPA-BASELIBS@2340 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