| To: | Martin Röhricht <ml@xxxxxxxxxxx>, discussion@xxxxxxxxxx |
|---|---|
| Subject: | Re: [Discussion] Retrieving a CID |
| From: | Richard Carlson <rcarlson@xxxxxxxxxxxxx> |
| Date: | Mon, 24 Oct 2005 13:50:01 -0400 |
|
Martin; Have you tried using the web100_connection_from_socket() call instead of the web100_get_connection_spec() call? You pass in the socket descriptor for that connection instead of individual addr/port values. Of course you need access to the SD. Rich At 12:38 PM 10/24/2005, Martin Röhricht wrote: Am Montag, 24. Oktober 2005 16:21 schrieb John Heffner: > web100_connection_find() only returns a single connection, not a list > of connections, so it required a full match on the spec. What you need > to do is step through the list of all connections in a loop doing a > match on just the parts of the spec you want. See below for an > example. (You seem not to have a remote port, but I'm assuming you > do.) ------------------------------------ Richard A. Carlson e-mail: RCarlson@xxxxxxxxxxxxx Network Engineer phone: (734) 352-7043 Internet2 fax: (734) 913-4255 1000 Oakbrook Dr; Suite 300 Ann Arbor, MI 48104
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Discussion] Retrieving a CID, John Heffner |
|---|---|
| Next by Date: | Re: [Discussion] Retrieving a CID, Martin Röhricht |
| Previous by Thread: | Re: [Discussion] Retrieving a CID, Martin Röhricht |
| Next by Thread: | Re: [Discussion] Retrieving a CID, Martin Röhricht |
| Indexes: | [Date] [Thread] [Top] [All Lists] |