Search:

Type: Posts; User: ltcabral

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    2,340

    hm... accept will write in the variable len so i...

    hm... accept will write in the variable len so i only need to declare it an int... right?
  2. Replies
    3
    Views
    2,340

    error connecting with sockets

    Hello,
    i made client and server applications, using sockets, to connect to each other in same machine. It works in my unversity but when i use them at home it doesnt work.

    I open the server app...
  3. Replies
    1
    Views
    3,402

    Data link / Application layers

    Could anyone make a simple example of an implementation in C of 2 separate layers, application and data link? In the program i need to make, they communicate with pre-defined functions, and the data...
  4. Replies
    2
    Views
    3,748

    I read the man page, but i cant make it work...

    I read the man page, but i cant make it work properly... Please correct me if im wrong. If i want to get the POST answer in a variable (char *) but the options CURLOPT_WRITEFUNCTION and...
  5. Replies
    2
    Views
    3,748

    Reading XML returned from a POST

    Hello, im using a C program with libcurl to send a POST. The server reads my POST and return a XML file, that is printed in the terminal when i execute the program. How can i put the lines from this...
  6. Replies
    1
    Views
    2,176

    Sliding window / stop-and-wait

    Could anyone provide me sliding window and/or stop-and-wait protocols working in C++?? Or point me where i can find them?

    Thanks in advance
  7. Replies
    1
    Views
    5,828

    Sliding window / stop-and-wait

    Could anyone provide me sliding window and/or stop-and-wait protocols working in C or C++?? Or point me where i can find them?

    Thanks in advance
  8. Replies
    2
    Views
    2,245

    thx... but where should my config.php be placed?...

    thx... but where should my config.php be placed? home?
  9. Replies
    2
    Views
    2,245

    help with libcurl

    hello, im learning to use libcurl post method, and i need some help...




    #include <stdio.h>
    #include <curl/curl.h>

    int main(void){
    CURL *curl;
  10. Replies
    11
    Views
    2,692

    thx for the advices... ill take a look in these...

    thx for the advices... ill take a look in these suggestions
  11. Replies
    11
    Views
    2,692

    i heard something about get n post methos......

    i heard something about get n post methos... could that help me?
  12. Replies
    11
    Views
    2,692

    i have free access to the server... i must...

    i have free access to the server... i must connect to this computer to read the info (usr, passwd, database etc) to use this info in my C program to connect to a mysql server automaticaly, but this...
  13. Replies
    11
    Views
    2,692

    let me explain better... i have a c program...

    let me explain better...

    i have a c program and a configuration file with the server IP (and port if needed) and i need my program to connect to that computer, open and read a php file like:


    ...
  14. Replies
    11
    Views
    2,692

    How to use C to connect to a server

    I have a C program and i need to connect to a computer (i have its IP) and read a php file... any suggestions on how can i do that?
  15. Replies
    7
    Views
    3,187

    This was my last code, using a double pointer as...

    This was my last code, using a double pointer as parameter, thats exactly what i want my structure to do:



    int main(){

    MYSQL *p_Connection;
    ...
    ...
  16. Replies
    7
    Views
    3,187

    My bad... already corrected these mistakes... but...

    My bad... already corrected these mistakes... but thats not the main problem... i wanna know why i cant even start the struct,

    mysql_init(): Allocates or initializes a MYSQL object suitable for...
  17. Replies
    7
    Views
    3,187

    passing struct as reference

    Hey im trying to pass a struct by reference to change one of its variables inside the void function. There is my code:



    typedef struct info_{
    MYSQL* p_Conn;
    char* Host;
    char* User;...
  18. Replies
    5
    Views
    1,460

    well thats what i changed considering ur...

    well thats what i changed considering ur advices... plz correct me if im wrong, cuz the program is compiling without errors, but giving me error in the execution...




    int main(){
    ...
  19. Replies
    5
    Views
    1,460

    help me with void function

    can anyone help me to transform this function to a void function, using the pointer address??




    int main(){

    ...
    MYSQL *p_connection;
    ...
Results 1 to 19 of 19