fix
This commit is contained in:
parent
b6df17ca9d
commit
be9d042d64
@ -1,11 +1,12 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
int sockfd;
|
int sockfd;
|
||||||
struct sockaddr_in servaddr;
|
struct sockaddr servaddr;
|
||||||
|
|
||||||
sockfd = socket(AF_INET, SOCK_DGRAM, 0);
|
sockfd = socket(AF_INET, SOCK_DGRAM, 0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user