11-22-2006
6 More Discussions You Might Find Interesting
1. IP Networking
i have one private network with one ip address, and i have a seperate network on a seperate ip address.
now, each network is behind a firewall/router. now what i want to do is be able to access one server on the second network from a computer on the first., but with the private ip address, (this... (2 Replies)
Discussion started by: norsk hedensk
2 Replies
2. IP Networking
Hi guys,
I'm in the progress of setting up a private network in our Sun solaris platform.
Existing ip: 172.16.102.101
New private ip: 192.168.2.3
Netmask is the same for both private & public 255.255.255.0
After setting up the ip, I'm able to ping this private ip address from our... (3 Replies)
Discussion started by: *Jess*
3 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I just purchased 2 Ultra 10 servers and I want to practice with home networking. I want to create a private network where I can connect both boxes to the internet via broadband using my four port adsl modem/router. My ISP assigns me 192.168 addresses via DHCP and I use the ISP's DNS but... (1 Reply)
Discussion started by: Kongowea
1 Replies
4. IP Networking
hello i have a ubuntu ssh server that i can acess from any of my comnputers but only if they are on the same wireless network as the server. i tested trhis my tehtehring my samsung blackjack to my windows partition and installing openssh to windows it works when windows is on the wireless but no... (1 Reply)
Discussion started by: old noob
1 Replies
5. IP Networking
how does a router directs the internet traffic to a specific host in the private network?
Example:
My PC has ip 192.168.134.100
Router has ip 192.168.134.200
My company's ip 202.52.150.33
When i try to access internet, say google, it traverses from... (1 Reply)
Discussion started by: Arun_Linux
1 Replies
6. Windows & DOS: Issues & Discussions
Hello,
I have a desktop which has two network cards installed on it and I connected these two card through a hub.
On the desktop in have installed a Windows Vista Home Edition SO and a Windowx XP SO in a virtual way. I also had intalled a Virtual BOX software and Windows XP run through it.
By... (1 Reply)
Discussion started by: zendcool
1 Replies
LEARN ABOUT PHP
wincache_lock
WINCACHE_LOCK(3) 1 WINCACHE_LOCK(3)
wincache_lock - Acquires an exclusive lock on a given key
SYNOPSIS
bool wincache_lock (string $key, [bool $isglobal = false])
DESCRIPTION
Obtains an exclusive lock on a given key. The execution of the current script will be blocked until the lock can be obtained. Once the
lock is obtained, the other scripts that try to request the lock by using the same key will be blocked, until the current script releases
the lock by using wincache_unlock(3).
Warning
Using of the wincache_lock(3) and wincache_unlock(3) can cause deadlocks when executing PHP scripts in a multi-process environment
like FastCGI. Do not use these functions unless you are absolutely sure you need to use them. For the majority of the operations on
the user cache it is not necessary to use these functions.
PARAMETERS
o $key
- Name of the key in the cache to get the lock on.
o $isglobal
- Controls whether the scope of the lock is system-wide or local. Local locks are scoped to the application pool in IIS FastCGI
case or to all php processes that have the same parent process identifier.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Using wincache_lock(3)
<?php
$fp = fopen("/tmp/lock.txt", "r+");
if (wincache_lock("lock_txt_lock")) { // do an exclusive lock
ftruncate($fp, 0); // truncate file
fwrite($fp, "Write something here
");
wincache_unlock("lock_txt_lock"); // release the lock
} else {
echo "Couldn't get the lock!";
}
fclose($fp);
?>
SEE ALSO
wincache_unlock(3), wincache_ucache_set(3), wincache_ucache_get(3), wincache_ucache_delete(3), wincache_ucache_clear(3), win-
cache_ucache_exists(3), wincache_ucache_meminfo(3), wincache_ucache_info(3), wincache_scache_info(3).
PHP Documentation Group WINCACHE_LOCK(3)