Hello,

Please, I would like to know if there is a max size to initialize to apr_size_t 
len ?
Because my source code here below does not work (with apr_size_t len =4096).
I have made some tests with apr_size_t len =  3555 and it's working fine.
Thank you for your help.

 int tailleBuffer = 4096;
    char* buf = NULL;
    buf = malloc(tailleBuffer * sizeof(char));
    apr_size_t len = tailleBuffer;

    rv = apr_socket_send(skt, str, &len);  //failed

Regards.

Dario CHAM
Database System & Network Administrator
[logo]
25 rue des Mathurins
75008 PARIS
Tél. : 33 (0)1 42 80 41 44
Mob : 33 (0)6 11 43 45 86
email : dc...@wings.fr<mailto:dc...@wings.fr>

<<inline: image001.png>>

Reply via email to