]> git.meshlink.io Git - utcp/commit
Do port numbers properly.
authorGuus Sliepen <guus@sliepen.org>
Fri, 25 Jul 2014 11:18:58 +0000 (13:18 +0200)
committerGuus Sliepen <guus@sliepen.org>
Fri, 25 Jul 2014 11:19:47 +0000 (13:19 +0200)
commitc93ef1391476090d5afacb899632df5476f964ed
tree884dc7f2612a4c6bc5ecce4413afb73aebf7b17f
parent53730e6f2e6d2625e935bd91c8639642f6d1519b
Do port numbers properly.

- Outgoing connections automatically get a port number >= 32768 assigned.
- *connect() and *accept() get a port number as argument.
- Connections are now stored in a sorted array with O(log(N)) lookup time.
UTCP
selftest.c
test.c
utcp.c
utcp.h