Dood day!
I wrote a server which listens on a specific port and
for each client splits child proccess (using fork()).
I need to exchange between them (proccesses). I tried
to use pipe (used socketpair function), but can create
only one.
I have such a general question: How to organize
i
Greetings...
I have a large client-server application in production now. My choice was
to use sockets for communication. IPC turned out to be too slow and
troublesome for the volume of data. Plus, I wanted to have the flexibility
of placing client processes on separate servers in the futu
Look into DBM files.
I've created a process that is similar to yours (parent process forks
child processes) and they are all daemons. I used a DBM file to
communicate between them. The only draw back was you will have to
implement a file locking schema to prevent corrupting your DBM file.
Regar
Hey everyone,
I am using Mime::Lite to send a bit of email. Sometimes it will be with
an attachment and sometimes it will be without.
This is my code:
-
if ($AttachFile)
{
$msg = MIME::Lite->new(
To=> $To,
Hey all,
I am using a crypt function in a script to check a password... here's a
snippet:
# Match current passwd...
$pass = $ent[1];
$salt=substr($pass,0,2);
$encrypt = crypt($oldpass, $salt);
if ($pass ne $encrypt) {
warn "Wrong password entered for $username";
&auth_
I am puzzeled that a script will work on Windows
servers and not on UNIX servers.Even a script as simple as hello.pl
Any ideas for a
begginer?
You can run into an issue if you are using DOS/Win32 based linebreaks
(CRLF) versus Unix based linebreaks (LF I think).
On Thu, 1 Nov 2001, Britt wrote:
> I am puzzeled that a script will work on Windows servers and not on UNIX
>servers.Even a script as simple as hello.pl
>
>
>
> Any ideas for
> Britt wrote:
>
> I am puzzeled that a script will work on Windows servers and not on UNIX
>servers.Even a script as simple as hello.pl
>
>
>
> Any ideas for a begginer?
1) Yes, don't post in HTML.
2) The most important part is what webserver you are using (Apache, IIS, etc.)
and you d