add trysocket.c
parent
f21e1c57a3
commit
7891309d23
@ -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);
|
||||||
|
}
|
Loading…
Reference in New Issue