Syntax Basic Command FTP Linux Network in C Language Programing

Creation of socket in C language Source code Programming
create socket (addr family, type of socket, protocol);
Bind: bind(sersock,protocol,type for the no. of connections);
Listen:linsten(sersock,protocol,type for the no.of connection);
Accept:accept (socket id, client info, client size);
connect
connect(client sockid, client addr, length of client addr);
getting the filename;
fgets(string *s,sizeof(s), file *stream);
receive:
recev(int s, void *buf,size_t length, int flags);
send
send(int s,void *buf,size_t fn, int flags);
see there Example program
FTP SERVER
FTP CLIENT
in C Source Code Programming Language

Related post