aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMarvin Borner2020-11-24 22:28:40 +0100
committerMarvin Borner2020-11-24 22:28:40 +0100
commit0bc77c8c0dbc1737e2909ff5a2d5e5af48b298f7 (patch)
tree106d144f4ac653f111d3942b4c30e9d67861982e /kernel
parent9257facb17bf74eb0eb1babfc59ff3549eb66242 (diff)
Started HTML rendering
Diffstat (limited to 'kernel')
-rw-r--r--kernel/features/net.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/kernel/features/net.c b/kernel/features/net.c
index 3fa28c9..cc46cd4 100644
--- a/kernel/features/net.c
+++ b/kernel/features/net.c
@@ -863,19 +863,4 @@ void net_install(void)
loop();
return;
}
-
- // Request
- /* struct socket *socket = net_open(S_TCP); */
- /* if (socket && net_connect(socket, ip(91, 89, 253, 227), 80)) */
- /* net_send(socket, strdup(http_req), strlen(http_req)); */
- /* else */
- /* print("Couldn't connect!\n"); */
-
- // Server // TODO: Serve using sockets
- /* struct socket *socket2 = net_open(S_TCP); */
- /* socket2->src_port = 8000; */
- /* while (socket2->prot.tcp.state != 3) */
- /* ; */
- /* while (socket2->prot.tcp.state == 3) */
- /* net_send(socket2, strdup(http_res), strlen(http_res)); */
}