Skip to content

Instantly share code, notes, and snippets.

View iankit3's full-sized avatar
💭
:-:

Ankit Kumar iankit3

💭
:-:
View GitHub Profile
@iankit3
iankit3 / socket.c
Created February 18, 2017 10:38 — forked from nolim1t/socket.c
HTTP Request in C using low level write to socket functionality
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>