01-28-2012
"connection reset by peer" means what it says, the connection was reset by the peer. Either the remote computer itself, or something along the way, broke the connection between the two machines.
This User Gave Thanks to Corona688 For This Post:
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all,
Ok here is my deal. I have almost convinced the wife to let me remove WIN2k from our family machine and install some flavor of open source. I'm think Red Hat at this piont.
The only things I need to keep her happy is some peer to peer file shareing program (like kazaa) and AIM or... (2 Replies)
Discussion started by: TAT2ME74
2 Replies
2. IP Networking
:confused: HI,
We have 2 servers ( win 2003 + sun 5.8 ) and we run a rsh from the NT to the UNIX.
The program runs a shell script on the UNIX and waits for the answer in the EOF.
How ever, after period of appx 2 min there is a reply "Recv failed:Connection reset by peer".
while the... (5 Replies)
Discussion started by: eyalush
5 Replies
3. UNIX for Advanced & Expert Users
Hey all !
I have a nice question ( maybe simple one ).
I coded a simple server , chat server. I want to implement send files options. But here I come to a nasty thing .. I cannot face out.
Let's say that two clients are already connected to the server.( clients are just from another contry... (0 Replies)
Discussion started by: !_30
0 Replies
4. Shell Programming and Scripting
hi
i am connecting to a remote server using sftp protocol.
i am using the command like "sftp USER01@122.10.12.45"
then i got the error "Couldn't read packet: Connection reset by peer"
please help its very urgent (5 Replies)
Discussion started by: Satyak
5 Replies
5. Solaris
hi everyone.
As a solaris/unix beginner, I am trying a peer-to-peer connection with my Sun and Windows.
Here is my setup:
-Windows XP
-Sun System (Netra T1) which is connected to the console of the WinXP machine.
-Windows XP has wireless connection which enables me to access internet ... (3 Replies)
Discussion started by: graboid888
3 Replies
6. Programming
hi,
I have developed a very simple echo client/server application. I expect whenever i shutdown the server machine, the client peer detects the shutdown.In reality this doesn't happen and client continues to send and receive data.To my surprise, it even recv() returns with value greater than... (4 Replies)
Discussion started by: Sedighzadeh
4 Replies
7. IP Networking
I am looking for advice on a router. I am new to Linux and am trying to use Limewire and Ktorent and can make no connection. Limewire indicates I have a firewall. I have a Linksys router WRK54G and my guess is that is the problem. I have spent hours upon hours trying to get it to work using info... (0 Replies)
Discussion started by: Paul K
0 Replies
8. IP Networking
Hi,
I am trying to add a static route in one of 3 server (S3) so that I can access the main application server (S1). But problem is, the server (S3) where I am trying to add static route is connected with another server (S2) which is in same private network of application server (S1).
I have... (9 Replies)
Discussion started by: ImranBD
9 Replies
LEARN ABOUT X11R4
ssl_clear
SSL_clear(3SSL) OpenSSL SSL_clear(3SSL)
NAME
SSL_clear - reset SSL object to allow another connection
SYNOPSIS
#include <openssl/ssl.h>
int SSL_clear(SSL *ssl);
DESCRIPTION
Reset ssl to allow another connection. All settings (method, ciphers, BIOs) are kept.
NOTES
SSL_clear is used to prepare an SSL object for a new connection. While all settings are kept, a side effect is the handling of the current
SSL session. If a session is still open, it is considered bad and will be removed from the session cache, as required by RFC2246. A
session is considered open, if SSL_shutdown(3) was not called for the connection or at least SSL_set_shutdown(3) was used to set the
SSL_SENT_SHUTDOWN state.
If a session was closed cleanly, the session object will be kept and all settings corresponding. This explicitly means, that e.g. the
special method used during the session will be kept for the next handshake. So if the session was a TLSv1 session, a SSL client object will
use a TLSv1 client method for the next handshake and a SSL server object will use a TLSv1 server method, even if SSLv23_*_methods were
chosen on startup. This will might lead to connection failures (see SSL_new(3)) for a description of the method's properties.
WARNINGS
SSL_clear() resets the SSL object to allow for another connection. The reset operation however keeps several settings of the last sessions
(some of these settings were made automatically during the last handshake). It only makes sense for a new connection with the exact same
peer that shares these settings, and may fail if that peer changes its settings between connections. Use the sequence SSL_get_session(3);
SSL_new(3); SSL_set_session(3); SSL_free(3) instead to avoid such failures (or simply SSL_free(3); SSL_new(3) if session reuse is not
desired).
RETURN VALUES
The following return values can occur:
0 The SSL_clear() operation could not be performed. Check the error stack to find out the reason.
1 The SSL_clear() operation was successful.
SSL_new(3), SSL_free(3), SSL_shutdown(3), SSL_set_shutdown(3), SSL_CTX_set_options(3), ssl(3), SSL_CTX_set_client_cert_cb(3)
1.0.1e 2013-02-11 SSL_clear(3SSL)