![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Socket communication and timer application | tryit | Linux | 0 | 06-07-2008 06:58 AM |
| socket communication and timer application | tryit | UNIX for Dummies Questions & Answers | 0 | 06-06-2008 05:35 PM |
| segmentation fault in socket application | amitpansuria | Linux | 8 | 04-18-2008 04:18 AM |
| Which application has a TCP socket open | murphyboy | UNIX for Dummies Questions & Answers | 3 | 10-26-2005 06:29 AM |
| Socket Programming socket | soshell | High Level Programming | 2 | 06-29-2004 08:49 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
ftp application using socket programming
i have made a ftp application in socket programming which uses TCP/IP .. i have the problem runing the only problem is on the client side i take the user input for the file to be downloaded from the command promt.
write(s, argv[2], strlen(argv[2])+1); // this is how i write in client side argv[2] is reading the file name read(sa, buf, BUF_SIZE);// how i read in server side sa is the variable for newsockfd the only from problem is if the user requests for a file which does not exist .. how to put a error condition for it and how to chck it.. i |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|