Use of "Listen" in Socket Server in C++ Using Linux -
in socket server code, written that:
listen (socket_fd, 5); i know written here reason of "listening connection" not sure parameter 5 means. there syntax
socklen_t i tried find using manual command unable.
from this site, sec parameter backlog queue size. listen(int fd, int size) function creates queue incoming connection requests. in illustration able handle 5 connection attempts arrive @ (or close to) same time.
c++ sockets socketserver
No comments:
Post a Comment