CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: tecknicalgreek@hotmail.com

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    5,324

    Stop a pthread

    I need to know what is the simplest way to stop a pthread. I dont want to use nor I am using mutex lock and unlock, but my threads are running fine and I want to stop the running thread if a global...
  2. Re: Modifying string values in a text and storing it a char array

    thanks for the info
  3. Modifying string values in a text and storing it a char array

    Hi,
    I need some information regarding a scenario where I have an array stored with SIP INVITE message

    char array_invite[] = "INVITE sip:302@1.2.3.4 SIP/2.0\r\n"
    ...
  4. Re: passing IP Address as a parameter

    got it working, was a small mistake in my code
  5. Re: passing IP Address as a parameter

    I can see that the variable is taking the value which is been given in the main function. But the problem is in my main function I am running other threads as well. Is that is the problem.
  6. passing IP Address as a parameter

    Hi,
    I am trying to pass the IP Address as a parameter instead of hard coding it, but I am ending with no connection.

    The code is as follows:

    char server_ip_address[16]; //globally declared
    ...
  7. Avoiding hard coding of IP Address

    Hi,
    I wanted to avoid the hard coding of IP Address in my implementation using standard C. Instead I want to pass it so that I can connect to different remote hosts. Any example of how I can do...
  8. Re: Extract a String from Text in C

    Hi Ninja,
    if you are still following this thread, I wanted to post one more question to you regarding VoIP. The reason why I am asking you is that whenever I posted questions related to SIP/VoIP in...
  9. Re: Start a Timer in one function and End it in another loop function

    thank you for your really generous "general answering"
  10. Re: Start a Timer in one function and End it in another loop function

    i said your question was too *abstract* and I gave the general info abt what I was doing and asked a general solution.

    You could have given a general answering instead of laughing at my post.
  11. Re: Start a Timer in one function and End it in another loop function

    well did I say something funny, may be I mistook your question! Bcos ur question was too abstract.
  12. Re: Start a Timer in one function and End it in another loop function

    it is exactly starting a timer and killing it after the condition is met!
  13. Re: Start a Timer in one function and End it in another loop function

    OK let me give some more details,

    I am planning to implement Finite State Machine in C, and for each transition I need to start a Timer1, initialize the Timer1 = 500ms and send the transaction,...
  14. Start a Timer in one function and End it in another loop function

    Hi,
    I am bit confused with placing the timers in my code.

    Basically I need to start a Timer say Timer_A in the routine Func1() and let it run for certain period of time and in another routine...
  15. Replies
    1
    Views
    2,721

    Re: SIP State Machine

    Hi,
    on the other hand can anybody elaborate me on the ICT(Invite Client Transaction), I have read it in RFC 3261, but I find it bit more difficult to understand, since they mix both reliable and...
  16. Finding the Processor Time and time difference in milliseconds!!!

    Hi,
    I am working on a FPGA board which supports on C libraries (not on Windows platform but on embedded platform) and according to my project requirement, I need to find the processor current time...
  17. Replies
    1
    Views
    2,721

    SIP State Machine

    Hi,
    is there any good example or an example code illustrating the implementation of the SIP State Machine according to RFC 3261. I have done some search on the internet but with no good results,...
  18. Re: Parsing the Port Number from SDP using C

    Hi superbonzo,
    thanks a million!!!!! your piece of code worked like a charm.
    Thanks and Regards
    Greek
  19. Re: Parsing the Port Number from SDP using C

    your suggestions are fine but still im finding it difficult to extract just the port number from this whole set of text, for example....

    SIP/2.0 200 OK
    Call-ID:...
  20. Parsing the Port Number from SDP using C

    Hi all,
    I want to parse the port number which I receive from along with the SDP from the SIP-Server and need to extract the port number from this line 'm = audio 17754 RTP/AVP 0 8', I want to...
  21. Re: Parsing the Port Number from SDP using C

    Hi Marc,
    thanks for your post, but unfortunately I am not using C++ libraries and I wont be using them as well.
    In case if there is a possibility with C then can any one give me a tip or possibly...
  22. Re: Parsing the Port Number from SDP using C

    Hi Marc,
    thanks for your post, but unfortunately I am not using C++ libraries and I wont be using them as well.
    In case if there is a possibility with C then can any one give me a tip or possibly...
  23. Re: How to run parallel threads independently!

    Hi Marc,
    I am running this on a FPGA which is OS independent.

    BR
  24. Re: Parsing the Port Number from SDP using C

    gggg
  25. Re: How to run parallel threads independently!

    I think you are not getting my scenario, I want the "loop_thread" to be running in parallel with other thread, which in my case is not happening. Once this "loop_thread" gets started it just sticks...
Results 1 to 25 of 32
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured