O'Reilly - Network Programming with Perl.pdf
(
301 KB
)
Pobierz
Network Programming
http://kickme.to/tiger/
Network
Programming
with
Perl
<
gbarr@pobox.com
>
Graham Barr
Agenda
Introduction
Properties of a socket
The socket model
TCP server/client
examples
Using UDP
UDP server/client
examples
IO::Socket, with
examples
Find information about
a socket
Types of server
Common problems
Commonly used
network protocols
Case studies
Slide 2
Introduction
Perl provides direct access to the C library routines for
socket communication. Often, arguments and return
values are constants defined in the C header files, or
are data structures which Perl will pass in a packed
binary format.
The Socket module provides these constants and also
many functions for packing and unpacking these data
structures
The IO::Socket module provides a higher level access
to creating a socket
CPAN contains many modules that provide a very high
level access to specific application protocols. e.g.
Net::FTP, Net::SMTP, Net::DNS, etc.
Slide 3
Socket properties
Ä
Ä
Ä
A generic socket has three properties
A type
An address family
A communication protocol
Slide 4
Plik z chomika:
agentpl
Inne pliki z tego folderu:
O'Reilly - DNS on Windows Server 2003.chm
(2758 KB)
O'Reilly - Dreamweaver in a Nutshell.chm
(3750 KB)
O'Reilly - Dreamweaver MX 2004 The Missing Manual.chm
(15236 KB)
O'Reilly - Dynamic HTML The Definitive Reference.pdf
(9442 KB)
O'Reilly - eBay Hacks 100 Industrial Strength Tips and Tools.chm
(3279 KB)
Inne foldery tego chomika:
Addison Wesley
Packt Books
Wiley
Zgłoś jeśli
naruszono regulamin