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

    Network programming via visual C++

    Hi all,
    I've been having problems with network programming. I want to write program to retrieve data pakets in network using TCP/IP protocol.
    Who knows how to do this, please help me....
    Thanks for the help.


  2. #2
    Guest

    Re: Network programming via visual C++

    Hai,
    This is the Procedure to receive DATA Packets:

    1.Create a Socket and make link between Socket and your own user defined message.
    2.Bind the Socket to Particular Port and starts Listen.
    3.When ever any Packets in particular Port your user message will invoke.
    4.In user message fn. you call accept fn.
    5.Create Event and link with Socket for accept and Pkt end.
    6.Call recv fn. to receive Data Pkts.

    if y need any further help contact me.


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