cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Stripped keep-alive header

From: Allen Chan <innovation101_at_gmail.com>
Date: Fri, 13 Jan 2006 11:42:09 +0900

On 1/13/06, Allen Chan <innovation101_at_gmail.com> wrote:
>
> 3. Extract the local port
> - about 1/4 finished as of now, any pointers? I'm looking at the
> connectdata struct.

Does It seem like that the local port is not stored? Or is it just me.

Anyway, I got the socket now using getsockname then convert it to
TCP/IP network byte order + 1.

Will probably try and make an option to force curl to use an specific
port. (again, so we dont have to turn off firewalls, ie. that allow
only certain ports)

I'll send the patch later once i get this thing cleaned up. Unless
ofcourse it's total crap. =D
Received on 2006-01-13