CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: UDP Application

  1. #1
    Join Date
    Aug 2006
    Posts
    12

    Question UDP Application

    Which Methods i have to use in order to Create the UDP apllication in VC++.
    plz give me the sugetions


    ramanand

  2. #2
    Join Date
    Oct 2005
    Location
    Bangalore
    Posts
    1,051

    Re: UDP Application

    Last edited by sreehari; August 25th, 2006 at 06:01 AM.
    - Sreehari
    "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us."
    " Everybody is sent to Earth on a purpose. I am so Lagging behind that i won't die." – Calvin

  3. #3
    Join Date
    Aug 2001
    Posts
    507

    Re: UDP Application

    --- Vague question.

    Use MSDN, Search for CSocket.

    Use Google, Search for Beej Guide.


    A simple example
    If you found my reply to be useful, please dont hesitate to rate it.


    DO NOT kick the Axe if it doesnt fall on your foot.

    Salman

  4. #4
    Join Date
    Feb 2002
    Location
    Krispl, Austria
    Posts
    197

    Re: UDP Application

    Vague question indeed but typical of the kind you get from Indian sub-continent outsourcing companies.

    It make you think they've just been employed from university and told to get CodeGuru members to write their code for them.

    And no I'm not bitter at all. Just correct!
    Requests such as
    "I need to write an new language compiler by next week, I have teach yourself c++ in 21 days, can someone give me example code?" will be ignored.

  5. #5
    Join Date
    Aug 2005
    Location
    pune
    Posts
    72

    Thumbs up Re: UDP Application

    Hi ,

    Using socket programming ,

    SOCKET socket ;

    // for UDP
    socket(AF_INET, SOCK_DGRAM, 0);

    // For TCP

    socket(AF_INET, SOCK_STREAM, 0);

    and all the standared method like send & recv refer MSDN.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured