0% found this document useful (0 votes)
41 views

Listen

This document describes the listen system call in C. The listen call is used to listen for connections on a socket. It takes a socket file descriptor and a backlog parameter as arguments and returns an integer indicating success or failure.

Uploaded by

api-3734782
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

Listen

This document describes the listen system call in C. The listen call is used to listen for connections on a socket. It takes a socket file descriptor and a backlog parameter as arguments and returns an integer indicating success or failure.

Uploaded by

api-3734782
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

name

listen - listen for connections on a socket


synopsis
#include <sys/socket.h>
int listen(int sockfd, int backlog);

You might also like