Add BIO_bind function to bind local address for a socket.
[openssl.git] / apps / s_apps.h
index 6ee2b0c8cae68bcb9f30de24d594f026cfee1cbc..fbffd86e710defc2d014544ea1aded08282aad56 100644 (file)
@@ -38,6 +38,7 @@ int ssl_print_groups(BIO *out, SSL *s, int noshared);
 #endif
 int ssl_print_tmp_key(BIO *out, SSL *s);
 int init_client(int *sock, const char *host, const char *port,
 #endif
 int ssl_print_tmp_key(BIO *out, SSL *s);
 int init_client(int *sock, const char *host, const char *port,
+                const char *bindhost, const char *bindport,
                 int family, int type, int protocol);
 int should_retry(int i);
 
                 int family, int type, int protocol);
 int should_retry(int i);