As i thought this is kind of a silly question.
Just in case anybody gets to the same point as me, I found a solution by adding a second ethernet card to the destination (server) and adding some...
Type: Posts; User: nabi
As i thought this is kind of a silly question.
Just in case anybody gets to the same point as me, I found a solution by adding a second ethernet card to the destination (server) and adding some...
Hi,
I have a server and two clients that i use to measure for example the round trip time. The server is an individual computer with an IP= 192.168.0.4 and the clients are in the same computer, so...
So far, all i can say is that the network cards do not support monitoring mode and therefore you can not see other packets nor frame values. Next time I ll have to double check before getting a...
Hi all,
I have a wireless (802.11b) router Access Point and my laptop connected together. As i can see in the configuration of the router there should be a beacon frame sent every 100ms on my AP....
I am a bit confused with "the system paces itself to the network activity ".
First, yes I am sending packet and receiving them so there is sort of correlation in the User Agent. My point is that...
Hi all,
I am doing a simple test with RTP packets. I have a computer with two wireless cards connected to a wifi-router (11Mbit/s), acting as User Agent (UA), and another computer connected to the...
This is actually a good point. In my case I am receiving RTP packet on my socket and they are normally around 20ms apart and although i have changed the code as you mentioned the outcome is still...
Yes that is right but i have no experience in comparing both sides and it strikes me such big differences.
This however should not modified the real values response time, it will actually make the...
Hi,
I am trying to measure the inter arrival time of the packets that I receive in one of my sockets. Basically, I ve got a socket listening for packets and each time a packet arrives I start a...
Hi all,
I am having a problem with VoIP streaming. There are two computers, the source computer and the Server computer. The source sends the packets to the Server and Server simply sends them...
right,
I am sending packets and receiving them in real time, there is no buffering. Take it as a VoIP call where i send and receive my own data. I understand this is what you are calling a...
are you modelling a realistic data flow?
I am using ortp libraries and two linux computers.
"Are you saturating the channel with messages in a tight loop"
Well, I am sending one RTPstream...
Hi all,
I am trying to set an very simple experiment for VoIP purposes. The system set up is the following. One computer (User1) is on a Ethenert network connected through a Full duplex to an Wifi...
Excellent example gg.
I have changed the program by modifying "runcond" variable and adding a second condition variable. Now it works as expected, each time one produces, one is consumed.
I ve...
I am facing a synchronisation or scheduling problem with threads. I have simplified my problem to the following one.
I have a producer thread that increases an integer value by one and a consumer...
Right,
I ve done the program below and the values obtained are those that i expected. So the bug must be somewhere else.
uint16_t seq;
char buffer[5];
buffer[0]=0x00;...
Hi all,
I am trying to get an uint16_t from a packet received in a socket. If received information is received in a char * buffer, i want to obtain the sequence number written on it which is the...
Hi,
Salem you are right, i added the null to buff and no valgrind errors. The program looks like this now:
for (j=0;j<3;j++){
q_aux.cseq_f=position;
for (i=0;i<size;i++){
if...
cas, you are right, I changed the quotes and now it works without warning. So I decided now to put this together, but strcpy is giving some problems.
int main (int argc, char ** argv)
{
...
hi,
Bayint Naung, you are very right, i added strcpy and string.h and it worked perfectly. However I have a deeper question here, about how to fill an (char * ptr) caracter by caracter, that is,...
Hi,
I am sure that integers are 32 bit but i am not sure what is the size of the pointers, i will appreciate if you could tell me how to check that.
I have added stdlib.h and removed the...
Trying to simplify things for the 2nd problem
In the code below i get Segmenation Fault for free a space that has not been allocated. I really do not understand why, can somebody explain me what is...
Hi all,
I am trying to program a FIFO queue. The queue is hosting a structure of data, a sequence number and a pointer to unsigned chars. I have generated the functions in a separate file to add,...