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
arbitrary number of elements. Elements are accessed by supplying an integer
index value to the get() or remove() methods.
At line 85, the only ThreadPool class constructor is declared.The constructor
takes a single integer argument, thread_count.The thread_count variable is used to
determine the number of WorkerThread instances to create.
At lines 90 to 93, a thread_count number of WorkerThread instances are created.
A reference to the ThreadPool instance’s m_queue Vector is passed to the con-
structor of each WorkerThread instance.The Vector is monitored by the
WorkerThread instances for new Socket objects.
At lines 97 through 103, the ThreadPool add() method is declared.This method
accepts a reference to a Socket object.The Socket object reference ...
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