Search:

Type: Posts; User: Ricardo_R5

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    3,731

    Need help with OpenSSL

    Hi,

    I'm currently working on a project for a class in shcool, i need to develop a basic client to interact with the openssl server, using a trustore and CA's.

    I simply run the openssl server...
  2. Replies
    11
    Views
    3,011

    Thanks, i analized the malloc() function again,...

    Thanks, i analized the malloc() function again, didn't notice that free was also a must to free memory allocated, i was in a rush to get this done :-)

    Also thanks quzah, i thougt scanf() was...
  3. Replies
    11
    Views
    3,011

    if you mean outside the function defineDir() yes...

    if you mean outside the function defineDir() yes i was using scanf, but inside defineDir() i removed all scanf()...
  4. Replies
    11
    Views
    3,011

    ok I resolve the problem with malloc() function...

    ok I resolve the problem with malloc() function like this


    /* LIKE 'CD' CHANGES DIR ON SERVER */
    defineDIR(char *server)
    {
    CLIENT *clnt;
    int *result;
    char *dir;
  5. Replies
    11
    Views
    3,011

    One more thing by declaring char dir[128]; for...

    One more thing by declaring char dir[128]; for example i cannot pass the 1st argument of function
    result = fixadir_1(&dir, clnt);
    like "&dir" how is the correct way of passing "dir" as a argument...
  6. Replies
    11
    Views
    3,011

    1st of all thank you all for your reply's, I did...

    1st of all thank you all for your reply's, I did also try to allocate memory by doing char dir[256]; and it didn't work, i'll try to use the fgets();

    Salem I usualy use "main(int argc, char...
  7. Replies
    11
    Views
    3,011

    Problem with RPC and scanf

    Hi all,

    I know scanf can generate some input errors, and gets should be avoided at all cost, so I wonder if someone can sugest a work around for a problem I have.
    I'm using rcpgen to generate...
Results 1 to 7 of 7