Hello,
I am in the process of setting up a multicast UDP receiver (group 224.2.2.2) under IPv4.
However, when I send a UDP message on the 224.2.2.2, I don't receive anything at the receiver....
Type: Posts; User: Ramsis94
Hello,
I am in the process of setting up a multicast UDP receiver (group 224.2.2.2) under IPv4.
However, when I send a UDP message on the 224.2.2.2, I don't receive anything at the receiver....
That is right !! that was the origin of the error thanks !!
Can anyone help me solve the error sendto: Address family not supported by protocol please ?
yes that is right thank you ! I reduced the BUFSIZE to 10.000 bytes only , it is quite enough for me.
However, I am having a new error message sendto: Address family not supported by protocol
...
Hello everyone,
I am trying to program an UDP talker using sockets.
My program compiles with no problems but when I try to execute it with any volume number, I am getting always the error : sendto...
It is ok now, I should set struct values like this :
my_args[i] = (arg_t){N_min, N_max};
ok thanks !!
I still have this
test.c: In function ‘main’:
test.c:55:18: error: expected expression before ‘{’ token
55 | my_args[i] = {N_min, N_max};
|
Hello everyone !!
I am trying to build a program that calculates the sum of integers between 0 and N, where N is a given integer. And I would like to do this using threads.
The program takes 2...
thank you
Hello guys ! I still need help here please
First, thank you for your remarks.
I declared the communication pipe properly now, and I used printf correctly.
Here is the new program:
#include <unistd.h>
#include <stdlib.h>
#include...
Hello everyone,
I am working on a program that allows the transmission of a message typed on the terminal of a parent process, to a child process which is responsible for displaying this message...
You are right ! I am learning too much new things these days :wink:
Apparently yes, but I am not familiar with sigaction() and I don't know how to use it :frown:
I see, thanks a lot
Thank u John for ur reply, it was very helpful !! However, in this program, I would like to use the fact that signal() call system returns a pointer to the last signal handler used to handle the same...
that is noted, thank u for the advice :redface:
Hello everyone,
I am trying to write a program that includes signals handling.
My program should not stop when he receives a SIGINT signal, he should printf a message instead.
This message...
thank u Salem, it worked
Hello everyone,
I am facing a problem with this code. Actually my program should create a new Shell that takes the hole path to a bin command (/bin/ls , /bin/date ...) so it can execute it by...
Great ! that's what I needed. thank u very much
thank you a lot John, it worked. But I am realy interested in solving this by making buffer pointing to status. Do u have any idea how to do this ?
ok, but how can I make buffer pointing to status ?
Hi I am new in C programming and I am facing a problem with the pointer in this program that takes a file path and returns stats about the file by using the stat system call :
#include...