Home
last modified time | relevance | path

Searched refs:newsock (Results 1 – 1 of 1) sorted by relevance

/haiku/src/tests/system/network/
H A Dat_srv.c24 int newsock; in main() local
44 newsock = accept(sock, (struct sockaddr*)&sin, &salen); in main()
45 if (newsock < 0) in main()
47 printf("Accepted socket %d\n", newsock); in main()
49 rv = write(newsock, HELLO_MSG, strlen(HELLO_MSG)); in main()
54 close(newsock); in main()