Skip to Main Content
Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals
book

Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals

by James C Foster
April 2005
Intermediate to advanced content levelIntermediate to advanced
700 pages
20h 39m
English
Syngress
Content preview from Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals
The Win32 listen function signature and required header files are:
#include <winsock2.h>
int listen(SOCKET s, int backlog);
The listen function is used to set a previously bound socket to a listening state, and
to set the connection backlog count.This function is typically used to set a previously
bound socket descriptor of type SOCK_STREAM into a listening state before calling
the accept function to receive new connections.
The listen function takes two arguments: the socket descriptor to be operated on and
an integer value indicating the number of connections to backlog before denying new
connections.The BSD sockets and Winsock versions of the listen ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

32/64-Bit 80x86 Assembly Language Architecture

32/64-Bit 80x86 Assembly Language Architecture

James Leiterman

Publisher Resources

ISBN: 9781597490054