06-10-2013
Https connection to UNIX DUT failing
HI !!
I have this setup where I have Windows machine and a UNIX based DUT .
I try to make a https connection from my Win to the DUT giving its IP.
But,it is not working (It should do).
What do u think the problem is ?? I checked the logs , they flag some writesocket:broken pipe error in stunnel.
Any Idea what could that be ?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I have a situation....where I have to make a HTTPS:// connection to the third party web site to grab 5 files from their server.
I am little new to unix.
Can anyone please help me creating the shell script for making this connection and grabing or reading the files from their server to... (2 Replies)
Discussion started by: rkumar28
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am trying to connect to an Oracle database using the following code :
sqlplus username/password@database_name
It was showing an error 'username/password invalid'
But i tried: sqlplus username/password ,it was connecting now.
Can anyone suggest what may be the... (1 Reply)
Discussion started by: DILEEP410
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I want to transfer a file from a https side to an unix machine, somebody can let me know a easy way to do so, A simple script to be put in the unix machine to retrieve the file from the https side
Thanks (4 Replies)
Discussion started by: jvjaimes
4 Replies
4. UNIX for Dummies Questions & Answers
Hi
I have a file called as MSD.DAT. This file is present at a directory on a server.
www.ta.ibhsv.somewhere.com/rahdf/MSD.DAT
Now, I want to get this file from this server to my Linux box. I need to write a script that uses https to get the file.
Please help how to achieve this.
... (3 Replies)
Discussion started by: infyanurag
3 Replies
5. UNIX for Dummies Questions & Answers
Hello Friends,
I have a requirement to connect and get files from a server using https protocol.
1) COuld you please advise on how to establish connection between my server and remote server to get files using https mode. any special procedure apart from FTP ?
2) also give me some code... (5 Replies)
Discussion started by: mohanpadamata
5 Replies
6. UNIX and Linux Applications
Hi,
I have wget for linux but I'm having trouble using it. I am trying to use it with a HTTPS connection to save cookies but it doesn't works.
I do:
wget --save-cookies=cookies.txt --post-data... (2 Replies)
Discussion started by: mierdatuti
2 Replies
7. Solaris
hi,
I'm setting up a home lab and I am having problems keeping my connection open on putty. every time i leave it for about 10 seconds and come back I keep having to re-connect. I'm more of a AIX person and trying to get more fimilar with Sun but some of the commands I am trying to run to diag... (2 Replies)
Discussion started by: vpundit
2 Replies
8. Shell Programming and Scripting
Hi All,
I'm trying to connect to Sybase via shell script. i'm getting the following error.
Please let me know where i'm going wrong. Note that i'm not having this issue when connecting via terminal.
#!/usr/bin/bash
SYBASE=/usr/sybase
ISQL=$SYBASE/bin/isql
export SYBASE ISQL
... (6 Replies)
Discussion started by: Irishboy24
6 Replies
9. Solaris
Hi Guys,
I have recently started reciving below Error message
Failed HTTPS transfer to https://supportfiles.sun.com/curl
whenever I run
/usr/local/bin/sudo /opt/SUNWexplo/bin/explorer -P -q -v
from all Servers.
Looks like the SSL certificate as Expired.
Whenever I type... (4 Replies)
Discussion started by: manalisharmabe
4 Replies
LEARN ABOUT PHP
memcache.pconnect
MEMCACHE.PCONNECT(3) 1 MEMCACHE.PCONNECT(3)
Memcache::pconnect - Open memcached server persistent connection
SYNOPSIS
mixed Memcache::pconnect (string $host, [int $port], [int $timeout])
DESCRIPTION
Memcache.pconnect(3) is similar to Memcache.connect(3) with the difference, that the connection it establishes is persistent. This connec-
tion is not closed after the end of script execution and by Memcache.close(3) function. Also you can use memcache_pconnect(3) function.
PARAMETERS
o $host
- Point to the host where memcached is listening for connections. This parameter may also specify other transports like
unix:///path/to/memcached.sock to use UNIX domain sockets, in this case $port must also be set to 0.
o $port
- Point to the port where memcached is listening for connections. Set this parameter to 0 when using UNIX domain sockets.
o $timeout
- Value in seconds which will be used for connecting to the daemon. Think twice before changing the default value of 1 second -
you can lose all the advantages of caching if your connection is too slow.
RETURN VALUES
Returns a Memcache object or FALSE on failure.
EXAMPLES
Example #1
Memcache.pconnect(3) example
<?php
/* procedural API */
$memcache_obj = memcache_pconnect('memcache_host', 11211);
/* OO API */
$memcache_obj = new Memcache;
$memcache_obj->pconnect('memcache_host', 11211);
?>
SEE ALSO
Memcache.connect(3).
PHP Documentation Group MEMCACHE.PCONNECT(3)