DevRaph/Unix

ftp : use send and recev

DevRaph opened this issue · 0 comments

make test with this two not with two read on socket
steps

  1. while read 0 in client
  2. send msg of "position commandes"
  3. receive in serveur
  4. split msg receive !!! special split (gestion of " ") >> if " -> error
  5. parse in position client/serveur when cmd (or env), cmd, option (-), params (= or other) << structure for commande
  6. if ; create other struct commande (list)
  7. builtin
  8. execv by fork or functions
  9. free each part of list