added missing addr to client
This commit is contained in:
parent
97337f06db
commit
5b855d21bd
@ -30,6 +30,7 @@ int main(void)
|
||||
struct sockaddr_in server_addr;
|
||||
server_addr.sin_family = AF_INET;
|
||||
server_addr.sin_port = htons(SERVER_PORT);
|
||||
server_addr.sin_addr.s_addr = INADDR_ANY;
|
||||
|
||||
int connectStatus = connect(listen_socket, (SA *) &server_addr, sizeof(server_addr)); //CONNECT
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user