Hello,
This is my code:
printf("Init: %s\n",getenv("MYLIB"));
//getenv("MYLIB") return the string "x"
char buffer[100]={'1','2'};
i'd like to like to add getenv("MYLIB") in the first...
Type: Posts; User: chercheur
Hello,
This is my code:
printf("Init: %s\n",getenv("MYLIB"));
//getenv("MYLIB") return the string "x"
char buffer[100]={'1','2'};
i'd like to like to add getenv("MYLIB") in the first...
Hello,
Please, I would create a strongly coupled application, each process runs on a machine and communicates with other processes , please how can i create that in C ? i have only to create a...
i have modified the function like that
size_t write(int fd, const void *buf, size_t count)
{
static size_t (*write_func)(int, const void *, size_t) = NULL;
/* get reference to original...
test.c
#include <sys/types.h> #include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Hello,
Please I try to apply the mechanism Interposition Function in Linux on the function write (write a socket) as follows:
# include <sys/types.h>
# include <sys/socket.h>
# include...
Can you name one?
I thought that is for me to develop the code that makes the broadcast
Please can you explain more your idea?
Thanks a lot
Thank you so much for much for help :)
I have used the client code that makes the broadcacast:
//Socket Client
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h> ...
Hello,
I have a client C and server C, the client connects to the server and sends a message. At runtime I want to attach to the message sent, a couple (x, y) struct of int
I want at run time,...
Please can you guide me to modify my code to do this? Do you know a function that do this?
I searched on google, I have not found a tutorial explaining
Thank you so much for help
I wonder if it is possible that the client sends a message broadcat "who is the server" to get the ip address of the server ?
Hello,
Thank you very much for the help :
here is the client code:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
Hello,
Please, I have a little problem, I hope you propose a solution. Thank you very much.
I developed a client task in C and a server task in C. The client needs the server IP address to...