Ok, ill try to elaborate more.
I already installed an apache server, for cgi and webserver. Now I want to build a website where people/public can submit their file.But this file need to be send to another server (not the webserver). So I was thinking to write a program in perl that opens tcp/ip conx when it is triggered by smt from the website to the destinated server. But I don't have any idea of where to start learning. Learned about how to create a tcp conx in perl but don't know how to continue then.