Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
C socket programming
Name: Ritz Date: December 4, 2001 at 16:47:35 Pacific
Comment:
Hey. I'm working on a program in C which will connect to a server on port 21 for FTP, and I'm having some trouble with the actual logging in process. First of all, do I need to have a Stream or D-gram socket? After setting up the right typ of socket, should I just send the text "USER uname" and "PASS password", or is there some sort of wierd crazy function i need?
Name: Mik Date: December 5, 2001 at 00:58:19 Pacific
Reply:
FTP is a connection oriented protocol so use a stream socket. One you are connected you might receive some information from the server. But after that you can just send the USER command. Followed by the PASS command.
But you should read RFC 959 for the exact specifications of the FTP protocol.
Summary: hey all- Just yesterday I THOUGHT I was good at socket programming... I have been trying to write some server software which would listen for incoming connections and then listen for incoming data fr...
Summary: Hi, since I am not a expert programmer, I need a clear explanation for windows socket programming with Visual C++ 6.0. I wanna write a program to close the current open ports with VC6.0. I know how to...
Summary: I have a good example i found on the web for basic tcp/ip programming. It is in C, instead of c++, but nonetheless a good example and fully function. http://www.iwebmedia.net/files/tcpClient.c http://...