Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 70580 invoked from network); 22 Dec 2004 18:52:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Dec 2004 18:52:07 -0000 Received: (qmail 56866 invoked by uid 500); 22 Dec 2004 18:52:05 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 56836 invoked by uid 500); 22 Dec 2004 18:52:05 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 56821 invoked by uid 99); 22 Dec 2004 18:52:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4E857.A80AAB27" Subject: find the bind port in apr version 1.0.1 Date: Wed, 22 Dec 2004 20:54:23 +0200 Message-ID: <1FB4A6BBAC3AC748AFFA8E9F42A9EFBD544C1B@hunt.ericom.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: find the bind port in apr version 1.0.1 Thread-Index: AcToV6b9/dKaRqPETZaL64VfwN5jAA== From: "Dror Shilo" To: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C4E857.A80AAB27 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable In apr version 1.0.1 the function=20 apr_sockaddr_port_get was removed. So if you bind to port 0 , and after the bind you have to find the port = that was peeked . how you can do it ? > Best regards, > =20 > ****************************************** > Dror Shilo > Ericom Software Ltd. > =20 > dror.shilo@ericom.com=20 > Tel: +(972) 2 591 1700 ext. 737 > Fax: +(972) 2 571 4737 >=20 > Extend the Way you Access ------_=_NextPart_001_01C4E857.A80AAB27 Content-Type: text/html; charset="windows-1255" Content-Transfer-Encoding: quoted-printable find the bind port in apr version 1.0.1

In apr version 1.0.1 the = function

apr_sockaddr_port_get was = removed.

So if you bind to port 0 , = and after the bind you have to find the port that was peeked . how you = can do it ?

Best = regards,

 

******************************************

Dror = Shilo

Ericom Software Ltd.

 

dror.shilo@ericom.com

Tel: = +(972) 2 591 1700 ext. 737

Fax: = +(972) 2 571 4737

Extend the Way you Access

------_=_NextPart_001_01C4E857.A80AAB27--