make on vsound -------------- /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -Wstrict-prototypes -pipe -c vsound.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -Wstrict-prototypes -pipe -Wp,-MD,.deps/vsound.pp -c vsound.c -fPIC -DPIC -o vsound.lo /bin/sh ./libtool --mode=link gcc -g -O2 -Wall -Wstrict-prototypes -pipe -o libvsound.la -rpath /usr/lib/vsound -module -avoid-version vsound.lo -ldl mkdir .libs rm -fr .libs/libvsound.la .libs/libvsound.* .libs/libvsound.* (cd . && ln -s vsound.lo vsound.o) gcc -shared vsound.lo -ldl -Wl,-soname -Wl,libvsound.so -o .libs/libvsound.so creating libvsound.la (cd .libs && rm -f libvsound.la && ln -s ../libvsound.la libvsound.la) 02:24 < Skapare> peope: sorry, missed it 02:24 < peope> ah 02:24 < phad> ah for the struct, yes that is right 02:25 -!- rodriwan [~rodriwan@200.19.160.1] has quit ["[BX] The birds kept calling his name, thought Caw"] 02:26 < peope> Skapare: will change globsock 02:27 -!- DeSigna [~designa@203-219-242-152-bri-ts9-2600.tpgi.com.au] has quit ["*bloop*"] 02:27 < Skapare> peope: I'd suggest a different environment variable name, such as SOCK_SRC_ADDR 02:27 -!- ptrace [~ptrace@user142.net628.oh.sprint-hsd.net] has quit [Connection reset by peer] 02:28 < peope> Skapare: why? 02:29 < Skapare> peope: because it makes more sense when expanding things to do some other stuff 02:29 < peope> thinking SETIP_ prefix to avoid namespace collitions 02:29 -!- MoneyCat [Ishq@frm-64-4-101-254.access.ntelos.net] has joined #c 02:29 -!- Xkilla_ [~Xkilla@adsl-67-115-226-221.dsl.lsan03.pacbell.net] has joined #c 02:29 < Xkilla_> is there a math function that evaluates 1 + 2 02:29 < Skapare> peope: don't worry about collisions ... try instead to establish as well thought out standard 02:29 < peope> you may be right.. thanks Skapare =) 02:29 < Skapare> peope: now make one which causes connect to make use of a proxy server, supporting SOCKS and HTTP/CONNECT protocols, and multiple proxies in a chain 02:30 -!- phreeze [~phreeze@dialup-171.75.202.164.Dial1.SaintLouis1.Level3.net] has joined #c 02:30 -!- yonsei [~yonsei@ip68-6-172-126.sd.sd.cox.net] has left #c [] 02:30 -!- falso [bud@81.84.125.200] has left #c [] 02:30 < Skapare> peope: also make one which causes connects to use a specific PORT number as the local port, too 02:30 < Skapare> peope: or make one library which handles _all_ these things based on what is set in the environment 02:30 -!- yonsei [~yonsei@ip68-6-172-126.sd.sd.cox.net] has joined #c 02:31 < peope> handle it all is probably preferred.. dont want to overload same funtion lots of times 02:31 < Skapare> peope: and plan for the proxy connect thing to also include authentication info 02:31 < peope> heh.. dont plan to fix any proxy-connet =) 02:31 < Skapare> yeah, too many overload layers might come back to bite your a__ 02:32 -!- Captain [~captain@ts46-01-qdr914.kfalls.or.charter.com] has joined #c 02:32 < peope> Dont know any other way to do it but to overload though 02:32 < Skapare> peope: overload is simplest ... just do it all in one library 02:32 < Skapare> peope: alternatively you'd have to patch the varioues libraries 02:33 < peope> problem is to make it modular.. cant make one library to fit all uses 02:33 < peope> but that is a problem far ahead 02:34 < Skapare> peope: one library to handle "socket connection preferences" makes sense, though 02:34 < peope> i agree.. but should proxy - implementation be in there too? 02:34 < peope> retorical 02:35 < Skapare> peope: SOCK_SRC_ADDR, SOCK_SRC_PORT, SOCK_DST_PROXY, SOCK_DST_PROXY_ADDR, SOCK_DST_PROXY_PORT, SOCK_DST_PROXY_AUTH 02:35 -!- earHurts [~zic@pool-138-88-116-122.res.east.verizon.net] has left #c [] 02:35 -!- atom-z [~matthew@pc1-hudd4-4-cust82.hudd.cable.ntl.com] has quit ["Client Exiting"] 02:36 < peope> acctually somehting of use.. have two internet-connections 02:36 < Skapare> peope: IMHO, proxy connect should be included, eventually 02:36 -!- progman_ [~progman@pool-141-158-106-153.pitt.east.verizon.net] has joined #c 02:37 < Skapare> peope: do SOCK_SRC_PORT first ... and support SOCK_SRC too as a combined addr w/port ... also plan to suppor 02:38 < Skapare> peope: here's another feature ... the connection _destination_ address (and port) should be looked for in the environment for a substitute 02:39 < Skapare> peope: for example SOCK_DST_ADDR_SUB_10.0.0.1=10.0.0.2 would cause connection attempts to 10.0.0.1 to really be made to 10.0.0.2 02:39 < Skapare> peope: then you can play around with overridding where connects go ... and by having the original IP in the environment name, you can have many 02:40 < Skapare> peope: also, if the value of any of these begins with "/" or "./", interpret it as a filename and read the file for the value 02:40 < Skapare> peope: be sure to handle separate address as well as address:port combinations 02:41 < Skapare> SOCK_DST_ADDR_SUB_10.0.0.1_80 <--- would be checked first when connection is made to 10.0.0.1 port 80 02:41 < Skapare> if that is not there then it checks for the name w/o a port 02:41 -!- Knight_Lord [~filipe@81.193.106.28] has joined #c 02:41 < Skapare> then if THAT is not there then it checks for SOCK_DST_ADDR