network tag

93 questions


1 answers
47 views
0
Network Distribution Unit (?)

Assuming that these three domains are connected to an IP called 127.0.0.1: ccc.com, b.abc.com, and a.abc.com, is there a device that reads the information of the domain and divides it into internal a,...

1 years ago

1 answers
64 views
0
Socket programming sockaddr_in, in_addr structure

int main(int argc, char* argv[]){ struct sockaddr_in addr1, addr2; char* str_ptr; char str_arr[20]; addr1.sin_addr.s_addr = htonl(0x10203040);}where s_addr is the variable declared in the in_addr stru...

2 years ago

1 answers
65 views
0
Accept() function question

serv_sock=socket(PF_INET, SOCK_STREAM, 0);//...clnt_sock=accept(serv_sock, (struct sockaddr*)&clnt_addr,&clnt_addr_size); acceptI understand what the argument roles of the function mean. Howev...

2 years ago
« - 10 -

© 2024 OneMinuteCode. All rights reserved.