The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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 "Server" extension somewhere where Gimp can find it. Then have a look at example-net.pl (and run it!), or homepage-logo.pl (which is a hybrid: works as plug-in and as

ENVIRONMENT

The environment variable GIMP_HOST specifies the default server to contact. The syntax is [auth@][tcp/]hostname[:port] for tcp or [auth@]udp/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

udp/tmp/mysocket # use unix domain socket /tmp/mysocket password@udp/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(3),