NAME

Gimp::Net - Communication module for the gimp-perl server.

SYNOPSIS

use Gimp qw( interface=net );

DESCRIPTION

WARNING: the Net-Server may open a listening socket at port 10009, reachable for everybody. In this version, no provisions for security have been made!

You first have to install the "Perl-Server" extension somewhere where Gimp can find it (e.g in your .gimp/plug-ins/ directory). Then have a look at example-fu.pl (and run it!), or example-net.pl (and run it!).

ENVIRONMENT

The environment variable GIMP_HOST specifies the default server to contact. The syntax is [auth@][tcp/]hostname[:port] for tcp or [auth@]unix/local/socket/path. Examples are:

www.yahoo.com               # just kidding ;)
yahoo.com:11100             # non-standard port
tcp/yahoo.com               # make sure it uses tcp
authorize@tcp/yahoo.com:123 # full-fledged specification

unix/tmp/unx                # use unix domain socket
password@unix/tmp/test      # additionally use a password

authorize@                  # specify authorization only

CALLBACKS

net()

is called after we succesfully connected to the server. Do your dirty work in this function.

FUNCTIONS

server_quit()

sends the perl server a quit command.

BUGS

(Ver 0.04..) This module is much faster than it ought to be... Silly that I wondered wether I should implement it in perl or C, since perl is soo fast.

AUTHOR

Marc Lehmann <pcg@goof.com>

SEE ALSO

perl(1), Gimp,