Search:

Type: Posts; User: nabi

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,834

    As i thought this is kind of a silly question. ...

    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...
  2. Replies
    1
    Views
    1,834

    Con you bind a Mac address?

    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...
  3. Replies
    1
    Views
    6,364

    So far, all i can say is that the network cards...

    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...
  4. Replies
    1
    Views
    6,364

    capturing beacon frames on my wireless card

    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....
  5. Replies
    4
    Views
    3,104

    I am a bit confused with "the system paces itself...

    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...
  6. Replies
    4
    Views
    3,104

    Socket blocking & end to end delay

    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...
  7. Replies
    4
    Views
    4,319

    This is actually a good point. In my case I am...

    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...
  8. Replies
    4
    Views
    4,319

    Yes that is right but i have no experience in...

    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...
  9. Replies
    4
    Views
    4,319

    Inter-Arrival time

    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...
  10. Replies
    0
    Views
    984

    how to parallel threads

    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...
  11. Replies
    5
    Views
    3,952

    right, I am sending packets and receiving 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...
  12. Replies
    5
    Views
    3,952

    are you modelling a realistic data flow? I am...

    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...
  13. Replies
    5
    Views
    3,952

    too many packets lost in a single rtp stream

    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...
  14. Replies
    3
    Views
    2,983

    Excellent example gg. I have changed the...

    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...
  15. Replies
    3
    Views
    2,983

    consumer producer problem with threads

    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...
  16. Thread: htons and ntohs

    by nabi
    Replies
    2
    Views
    5,489

    Right, I ve done the program below and the...

    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;...
  17. Thread: htons and ntohs

    by nabi
    Replies
    2
    Views
    5,489

    htons and ntohs

    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...
  18. Replies
    10
    Views
    2,352

    Hi, Salem you are right, i added the null to...

    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...
  19. Replies
    10
    Views
    2,352

    cas, you are right, I changed the quotes and now...

    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)
    {
    ...
  20. Replies
    10
    Views
    2,352

    hi, Bayint Naung, you are very right, i added...

    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,...
  21. Replies
    10
    Views
    2,352

    Hi, I am sure that integers are 32 bit but i...

    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...
  22. Replies
    10
    Views
    2,352

    free

    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...
  23. Replies
    10
    Views
    2,352

    queue, failing with memcpy

    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,...
Results 1 to 23 of 23