I have a need for a program that listens for connections on a specific port and copies files that are sent to that port. The environment is Linux. I prefer C++. Do you have any class or any other suggestions? I've never written anything like this.
Suggestions for a program that listens on a port and copies files in Linux?
Google it, tons of examples.
I like C++ better too, but Java would be a better choice, unless you are doing gigs of data as fast as possible. Easier to write, maybe 20 lines or less.
Java code example
http://forum.java.sun.com/thread.jspa?th...
Reply:The easiest would likely be an FTP server. Consult your distro as it likely has one or more that it recommends.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment