hm... accept will write in the variable len so i only need to declare it an int... right?
Type: Posts; User: ltcabral
hm... accept will write in the variable len so i only need to declare it an int... right?
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...
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...
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...
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...
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
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
thx... but where should my config.php be placed? home?
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;
thx for the advices... ill take a look in these suggestions
i heard something about get n post methos... could that help me?
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...
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:
...
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?
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;
...
...
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...
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;...
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(){
...
can anyone help me to transform this function to a void function, using the pointer address??
int main(){
...
MYSQL *p_connection;
...