Commit graph

17 commits

Author SHA1 Message Date
Nicolas Van Wambeke
f643d39168 Changes to use random port numbers (depend on user's uid) rather
than a static port. Allows all students to use the same machine
(for Covid-19 mitigation)
2020-04-03 11:36:58 +02:00
Guillaume Averlant
4e12819c36 BUGFIX: 64bit compatibility patch !
Rewrite src/apps/gateway.c to work with 64bit compilation + redesign for better maintenance.
Some small other modifications in Makefile and src/apps/client.c for 64bit compatibility.
2018-05-03 19:16:10 +02:00
Guillaume Averlant
5e4a2b64a9 ADD+BUGFIX [mictcp/mictcp_core] (see details below)
1) BUGFIX: Fixed the return value of IP_send() and IP_recv() so that they does not include the header size anymore.

2) ADD: Harmonization of IP_send() and IP_recv() so that they both use mic_tcp_pdu data instead of ip_payload data.
Moved therefore the ip_payload type declaration in mictcp_core.h.

3) ADD: Add the source address to the arguments of process_received_PDU() in order to make the multiplexing implementation possible.

4) ADD: Generate a stub addr in IP_recv()
2018-05-03 19:14:04 +02:00
Guillaume Averlant
d8da9cac5e Cleanup: use a symbolic link for video/video.bin 2018-05-03 18:43:40 +02:00
Guillaume Averlant
3f7c447bef Cleanup: standardization of indentations in tsock_texte and tsock_video 2018-05-03 18:41:58 +02:00
Guillaume Averlant
95be64764a Cleanup: remove trailing whitespace in all files of the project 2018-05-01 18:30:13 +02:00
Guillaume Averlant
e28e634800 Updated the mictcp base with the 2017-03-18 source code distributed to students.
These changes were not made by myself.
2018-05-01 18:20:58 +02:00
Nicolas Van Wambeke
5c3e257904 Cleaned global variables and simplified the partially reliable send 2016-06-19 21:04:55 +02:00
Nicolas Van Wambeke
eda791330c Replaced custom made buffer by sys/queue.h TAILQ implementation 2016-06-19 18:17:28 +02:00
Nicolas Van Wambeke
ad23e0afd4 Correctly initialized the addr size variable used in recvfrom 2016-06-19 17:20:51 +02:00
Nicolas Van Wambeke
31e585aca8 Replaced a few calls to bzero and bcopy by memset and memcpy respectively.
Replaced the use of struct timeval by POSIX compliant struct timespec.
2016-06-19 16:10:38 +02:00
Nicolas Van Wambeke
ddeca822aa Modified to compiled with -ansi and -Wall
-pedantic was not set to allow for __FUNCTION__ use in printf
2016-06-19 15:02:32 +02:00
Nicolas Van Wambeke
8ff0603d6a Added a few targets to the makefile: dist, distclean, prof
The prof target takes an optional tag variable to customize the generated file name
2016-06-19 13:34:18 +02:00
Nicolas Van Wambeke
9cf49fe991 Added proper termination after user pressed CTRL+D, call to mic_tcp_close 2016-06-19 11:50:50 +02:00
Nicolas Van Wambeke
dc7fb0af27 modified for termination when used for mictcp video replay 2016-06-19 11:47:13 +02:00
Nicolas Van Wambeke
769f757fec added a gitignore file 2016-06-13 23:18:18 +02:00
Nicolas Van Wambeke
dc58e0e2d5 Initial Import 2016-06-13 23:17:19 +02:00