a1db787834
v1
2024-03-27 17:27:41 +01: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
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
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
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
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
dc58e0e2d5
Initial Import
2016-06-13 23:17:19 +02:00