Interesting. Is it really necessary to zero out sockaddr/sockaddr_in
before using it? I see that some sources do it, and some don't. I
was always under the impression that, as long as you fill the relevant
members (sin_family, sin_addr, sin_port), other initialization is not
necessary. Was I
Manfred Schwarb [EMAIL PROTECTED] writes:
Interesting. Is it really necessary to zero out sockaddr/sockaddr_in
before using it? I see that some sources do it, and some don't. I
was always under the impression that, as long as you fill the relevant
members (sin_family, sin_addr, sin_port),
francois eric [EMAIL PROTECTED] writes:
after some test:
bug is when: ftp, with username and password, with bind address specifyed
bug is not when: http, ftp without username and password
looks like memory leaks. so i made some modification before bind:
src/connect.c:
--
...
/*
problem: wget can't download by command
wget --bind-address=Your.External.Ip.Address -d -c -v -b -a logo.txt
ftp://anonymous:[EMAIL PROTECTED]/incoming/Xenos/knigi/Programming/LinuxUni
x/SHELL/PICTURES/LOGO.GIF
logo.txt contains:
--
DEBUG output created by Wget 1.9.1 on freebsd4.5.
--11:36:30--