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
common functions and constants and the header files in which they are located on the
OpenBSD and Microsoft Windows platforms.
Table 7.1 Header Files for Socket-related Functions and Constants
Name Type UNIX Header File Win32 Header File
Socket Function sys/socket.h winsock2.h
Setsockopt Function sys/socket.h winsock2.h
Ioctl Function sys/ioctl.h n/a for sockets
Ioctlsocket Function n/a winsock2.h
send, sendto Function sys/socket.h winsock2.h
Recv, recvfrom Function sys/socket.h winsock2.h
Close Function unistd.h n/a for sockets
Closesocket Function n/a winsock2.h
IPPROTO_IP Constant netinet/in.h winsock2.h
IPPROTO_ICMP Constant netinet/in.h winsock2.h
IPPROTO_UDP ...
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