add trysocket.c

This commit is contained in:
Felix von Leitner 2004-01-08 17:12:39 +00:00
parent 5ea24edfec
commit c5a8c68f8a
1 changed files with 7 additions and 0 deletions

7
trysocket.c Normal file
View File

@ -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);
}