Add socket support for aarch64

This commit is contained in:
2025-04-29 13:19:40 -04:00
parent abbace3df4
commit f98b95ac4a
2 changed files with 168 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ int main() {
server.sin_port = 0x391b;
// Create the socket
socket_fd = socket(AF_INET, SOCK_STREAM, 0);
socket_fd = socket(AF_INET, SOCK_STREAM, IPPROTO_IP);
if (socket_fd < 0) {
write(STDERR, "Socket error\n", 13);
close(socket_fd);