About this product: The popularity of the C# language and the .NET framework is ever rising due to its ease of use, the extensive class libraries available in the .NET Framework, and the ubiquity of the Microsoft Windows operating system, to name a few advantages. TCP/IP Sockets in C# focuses on the Sockets API, the de facto standard for writing network applications in any programming language. Starting with simple client and server programs that use TCP/IP (the Internet protocol suite), students and practitioners quickly learn the basics and move on to firsthand experience with advanced topics including non-blocking sockets, multiplexing, threads, asynchronous programming, and multicasting. Key network programming concepts such as framing, performance and deadlocks are illustrated through hands-on examples. Using a detailed yet clear, concise approach, this book includes numerous code examples and focused discussions to provide a solid understanding of programming TCP/IP sockets in C#.
About this product: The networking capabilities of the Java platform have been extended considerably since the first edition of the book. This new edition covers version 1.5-1.7, the most current iterations, as well as making the following improvements:
The API (application programming interface) reference sections in each chapter, which describe the relevant parts of each class, have been replaced with (i) a summary section that lists the classes and methods used in the code, and (ii) a ?gotchas? section that mentions nonobvious or poorly-documented aspects of the objects.
In addition, the book covers several new classes and capabilities introduced in the last few revisions of the Java platform. New abstractions to be covered include NetworkInterface, InterfaceAddress, Inet4/6Address, SocketAddress/InetSocketAddress, Executor, and others; extended access to low-level network information; support for IPv6; more complete access to socket options; and scalable I/O. The example code is also modified to take advantage of new language features such as annotations, enumerations, as well as generics and implicit iterators where appropriate.
Most Internet applications use sockets to implement network communication protocols. This book's focused, tutorial-based approach helps the reader master the tasks and techniques essential to virtually all client-server projects using sockets in Java. Chapter 1 provides a genral overview of networking concepts to allow readers to synchronize the concepts with terminology. Chapter 2 introduces the mechanics of simple clients and servers. Chapter 3 covers basic message construction and parsing. Chapter 4 then deals with techniques used to build more robust clients and servers. Chapter 5 (NEW) introduces the scalable interface facilities which were introduced in Java 1.5, including the buffer and channel abstractions. Chapter 6 discusses the relationship between the programming constructs and the underlying protocol implementations in more detail. Programming concepts are introduced through simple program examples accompanied by line-by-line code commentary that describes the purpose of every part of the program. The book's Web site contains many examples of command-based sockets-related code discussed throughout the book. No other resource presents so concisely or so effectively the material necessary to get up and running with Java sockets programming.
KEY FEATURES
* Focused, tutorial-based instruction in key sockets programming techniques allows reader to quickly come up to speed on Java applications. * Concise and up-to-date coverage of the most recent platform (1.7) for Java applications in networking technology * Provides code for all example programs via a companion Web site to let the reader see the important objects and methods in context and to understand the purpose of each line of code.
About this product: A growing number of the 90,000 network programmers who bought Rich Stevens' UNIX Network Programming need to address a topic not covered by this classic--how to deal with Windows Sockets, also known as WinSock. This book is the defintive word on WinSock, offering a complete tutorial on how to work with Windows Sockets and sample code, which will be available on the Internet.
About this product: Elite Programming Techniques Demystified
In this groundbreaking book, best-selling author James C. Foster reveals for the first time the methods hackers use to attack and exploit the core components of operating systems and their applications. He provides working code and scripts in C/C++, Java, Perl, and NASL to detect and defend against the most dangerous attacks. The book covers in detail the five most important disciplines for security professionals and software developers: Coding, Sockets, Shellcode, Porting Applications, and Coding Security Tools.
"Read every page of this book, understand the content, and use it to your advantage."--Stuart McClure
Download the CodeAll code lines throughout the book are numbered for easy reference and are available for download from www.syngress.com/solutions.
Develop ShellcodeCustomize and optimize never-before-seen shellcode that can exploit almost any system.
Port Public ExploitsFollow step-by-step instructions for porting exploits to work on Windows, Linux, UNIX, and even Macs!
Customize Windows COM ObjectsWrap and automate pre-compiled exploits and security tools such as Nmap, netcat, and hping.
Enhance NiktoDevelop customized code to dramatically improve the performance of the Nikto Web server scanner.
Reverse Engineer Zero DaysLearn to reverse engineer, modify, and re-automate Zero-Day exploit code.
Write NASL ScriptsDevelop scripts for Nessus to discover the latest vulnerabilities.
Identify and Target VulnerabilitiesExamine case studies that reveal how attackers identify and exploit security holes.
Multicast Sockets: Practical Guide for Programmers is a hands-on, application-centric approach to multicasting (as opposed to a network-centric one) that is filled with examples, ideas, and experimentation. Each example builds on the last to introduce multicast concepts, frameworks, and APIs in an engaging manner that does not burden the reader with lots of theory and jargon. The book is an introduction to multicasting but assumes that the reader has a background in network programming and is proficient in C or Java. After reading the book, you will have a firm grasp on how to write a multicast program.
Features:
* Author team of instructor and application programmer is reflected in this rich instructional and practical approach to the subject material * Only book available that provides a clear, concise, application-centric approach to programming multicast applications and covers several languages—C, Java, and C# on the .NET platform * Covers important topics like service models, testing reachability, and addressing and scoping. * Includes numerous examples and exercises for programmers and students to test what they have learned
TCP/IP Sockets in C: Practical Guide for Programmers is a quick and affordable way to gain the knowledge and skills you need to develop sophisticated and powerful networked-based programs using sockets. Written by two experienced networking instructors, this book provides a series of examples that demonstrate basic sockets techniques for clients and servers.
Using plenty of real-world examples, this book is a complete beginner's guide to socket programming and a springboard to more advanced networking topics, including multimedia protocols.
Note: This title was formerly known as Pocket Guide to TCP/IP Socket Programming in C, ISBN 1-55860-686-6.
For example code from the text, Winsock adaptations of text code, sample programming exercises and more, click on the grey "Companion Site" button to the right.
*Concise, no-nonsense explanations of issues often troublesome for beginners, including message construction and parsing. *Comprehensive example-based coverage of the most important TCP/IP techniques-including iterative and concurrent servers, timeouts, and asynchronous message processing. *Includes a detailed, easy-to-use reference to the system calls and auxiliary routines that comprise the sockets interface. *A companion Web site provides source code for all example programs in both C and WinSock versions, as well as guidance on running the code on various platforms.
About this product: The explosive growth of the Internet in no small part is due to the sockets programming interface. This elegant API allows almost any computer that runs TCP/IP--from palm computers to mainframes--to communicate seamlessly. The Pocket Guide to TCP/IP Sockets provides beginning and intermediate network programmers with a practical tutorial and reference guide. Instead of trying to break new ground, this book establishes modest goals and achieves them splendidly. It is a concise, high-quality resource for students and professionals.
This book targets the accomplished C programmer who wants to learn network programming. You're assumed to have a good working knowledge of basic IP addressing and network configuration--not much time is spent educating you on the fundamentals of networking architecture.
A highlight of this book is the solid sample code. Even for those who already write socket code, a brief refresher is always helpful--this book delivers valuable client and server code for both TCP and UDP sockets. Although the samples are based on a Unix environment, it's a trivial matter to port most of the code to Microsoft Windows and the Windows Sockets interface (ported samples also are available directly from the book's Web site). No longer do you have to paw through a thick reference to find parameter lists for sendto() or accept(). More subtle issues--data alignment, network vs. host byte order, and differing approaches to handling client connections--also are handled with ease.
Chapter 6 contains an under-the-hood discussion on TCP/IP implementation that will be useful to the more advanced user and that explains possible deadlock conditions, discusses the TCP state diagram, and sheds light on how the operating system handles socket resources. These juicy nuggets are reasons enough to keep this book handy--even after the thrill of your first successful network program subsides. --Pete Ostenson
About this product: BSD Sockets Programming from a Multi-Language Perspective is written for software developers who need to create a variety of network applications using the standard Sockets API. The techniques covered are applicable to numerous operating systems including Linux, Windows/Cygwin, embedded RTOS stacks, and any other system that offers a Sockets API.
It begins by clearly detailing the efficient and effective uses of the Sockets API for networked application development in the C language. From there the Sockets API is covered in detail and the purpose of each function and socket option is identified, including the advanced behavioral side-effects of each. Having a thorough understanding of these issues and techniques is often the difference between being a novice and professional network application developer. Optimizing networked applications and avoiding common pitfalls are also addressed.
After the solid foundational coverage of the Sockets API in Part I, Part II investigates it from a variety of language perspectives. Using six different languages in all, including imperative languages (C), object-oriented languages (Java, Ruby, Python), and scripting languages (Perl, Tcl), you learn the advantages and disadvantages of each language as they relate to the development of networked applications and the Sockets API.
Finally, in Part III, a set of software patterns is discussed for each language. Patterns include a simple web server (HTTP) and email client (SMTP), and various Sockets communication styles (stream, datagram, multicast, and broadcast). These patterns can be used as the basis for more complex applications or to give you a quick-start when building your own networked applications. The patterns also illuminate the differences between the network APIs for each language and identify how certain languages make patterns simple and others make them complex. The accompanying CD-ROM includes all of the source code from the book, including the patterns detailed in Part III, as well as open source interpreters and other tools.
KEY FEATURES
* Provides comprehensive coverage of the Sockets API * Offers complete coverage of BSD socket options and their effects on network application * Discusses the usage of the Sockets API in a variety of popular languages, including C, Java, Python, Perl, Ruby and Tcl * Looks at language specific network programming alternatives * Analyzes the implementations of standard software patterns for each of the covered languages, including a simple web server, email client, multicast and broadcast patterns, and more * Provides concise and helpful tips on creating efficient network applications and avoiding common pitfalls
On the CD The CD-ROM is made up of two parts: software and tools. In the software directory are the software patterns and examples for each of the languages. Under tools are the interpreters and tools used with the examples. * Software Patterns Contains 15 subdirectories covering a number of chapters from the book Code examples from the book are included, as well as the software patterns for Ruby, Tcl, C, Perl, Python, and Java * Software Tools Contains software tools and languages of the versions used in the book * The Perl, Ruby, Tcl, and Python interpreters are included in source form, and executables are provided for Ruby and Python
SYSTEM REQUIREMENTS PC: The minimum system requirements for the tools, patterns, and examples are: Pentium I processor or above; CD-ROM Drive; Hard Drive (350MB available space for tools, 1MB for patterns and examples); 128MB of RAM; The tools and code examples provided in this book require Linux (tested with Red Hat 7.2, but will run any standard distribution) or Windows 95/98, Windows NT, Windows 2000 or Windows XP with Cygwin.
About this product: The Internet allows computers thousands of miles apart to exchange information through programs such as Web browsers, and nearly all of these programs gain access to network communication services through the sockets programming interface. TCP/IP Sockets in C: Practical Guide for Programmers is a quick and affordable way to gain the knowledge and skills needed to quickly develop sophisticated and powerful web-based applications. Written by two experienced networking instructors, the book's focused, tutorial-based approach enables the reader to master the tasks and techniques essential to virtually all client-server projects using sockets in C. Programming concepts are introduced through simple, real-world examples, and are accompanied by line-by-line code commentary that describes the purpose of each part of the program. The book's companion website also contains myriad employable examples of command-based source code discussed throughout the text.
A great deal has changed in the 6 years since the first edition of this book was published. The widespread adoption of IPv6 has led to a new standard for internetworking and the exponential increase of computer processing power have enhanced the efficacy and scope of electronic espionage. Therefore, this edition has amended and expanded outdated sections in accordance with both new advancements and dangers. The book now explains both the IPv6 and IPv4 address schemes as well as how to do sockets programming in the mixed IPv6/IPv4 networks environment. It also details defensive programming strategies in the context of building security-aware distributed systems, and introduces the select() system call from a performance and predictability perspective in large systems.
In summary, the book provides both a general overview of networking concepts to allow readers to synchronize the concepts with terminology, while providing a springboard to more advanced networking topics through the basic application of the latest technological developments. No other resource presents so concisely and effectively the material necessary to get up and running with C sockets programming.
* Includes completely new and expanded sections that address the IPv6 network environment, defensive programming, and the select() system call, thereby allowing the reader to program in accordance with the most current standards for internetworking.
* Streamlined and concise tutelage in conjunction with line-by-line code commentary allows readers to quickly program web-based applications without having to wade through unrelated and discursive networking tenets.
* Grants the reader access to online source code, which the can then be used to directly implement sockets programming procedures.
About this product: Linux Socket Programming by Example begins with a very basic introduction to the fundamentals of socket level programming. As the chapters progress, you are introduced to related concepts, such as forming network addresses, Ipv6, the TCP/IP protocol suite and options, writing servers, and creating secure applications. You will also learn about socket fundamentals, domains and addresses, address conversion functions, socket types and protocols, Internet sockets, types and protocols, binding an address to a socket, using Datagram oriented protocols, and much more.