summaryrefslogtreecommitdiff
path: root/trysocket.c
diff options
context:
space:
mode:
authorFelix von Leitner <felix-libowfat@fefe.de>2004-01-08 17:12:39 +0000
committerFelix von Leitner <felix-libowfat@fefe.de>2004-01-08 17:12:39 +0000
commitc5a8c68f8a28c182f499cd1c4c59efa2f75b110e (patch)
treefc6887008ff629086a09cd6c94aab75f8d2960ae /trysocket.c
parent5ea24edfec38c3f0283de530bb399f8d70582c9d (diff)
downloadlibowfat-c5a8c68f8a28c182f499cd1c4c59efa2f75b110e.tar.gz
libowfat-c5a8c68f8a28c182f499cd1c4c59efa2f75b110e.zip
add trysocket.c
Diffstat (limited to 'trysocket.c')
-rw-r--r--trysocket.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/trysocket.c b/trysocket.c
new file mode 100644
index 0000000..8623452
--- /dev/null
+++ b/trysocket.c
@@ -0,0 +1,7 @@
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+
+main() {
+ int fd=socket(PF_INET,SOCK_STREAM,IPPROTO_TCP);
+}