From 0bc77c8c0dbc1737e2909ff5a2d5e5af48b298f7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 24 Nov 2020 22:28:40 +0100 Subject: Started HTML rendering --- kernel/features/net.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'kernel') 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)); */ } -- cgit v1.2.3