Commit graph

27 commits

Author SHA1 Message Date
a1db787834 v1 2024-03-27 17:27:41 +01:00
Nicolas Van Wambeke
ca99010627 adapted documentation for destination and port externalization in apps 2024-03-02 17:07:52 +01:00
Nicolas Van Wambeke
476486195c added a trap for SIGINT to gracefully kill components upon CTRL+C 2023-04-23 11:25:38 +02:00
Nicolas Van Wambeke
f9c78e2d36 Adapted the apps to externalize the IP and mictcp port number as command line arguments 2023-04-09 20:46:08 +02:00
Nicolas Van Wambeke
b6816aa736 Fixed header size constant to match size of mic_tcp_header structure 2023-04-09 19:00:39 +02:00
Nicolas Van Wambeke
6dfe23e925 Using real IP addresses in fake IP instead of forcing localhost 2023-04-09 18:58:22 +02:00
Nicolas Van Wambeke
25b296efea Better separation of transport and network layer, extension of IP_send and IP_receive to enable easy development of multiple sockets in mictcp 2023-03-25 18:39:51 +01:00
Nicolas Van Wambeke
13766b7c78 Merge github.com:nicolasvw/mictcp 2022-03-12 09:49:01 +01:00
Nicolas Van Wambeke
377728892e Added a readme file with general information on usage of this repository 2022-03-12 09:44:24 +01:00
Nicolas Van Wambeke
bab4c30b2b
Build on commit
Added a github actions Make on commit to this repository
2022-03-05 16:45:19 +01:00
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