Click to See Complete Forum and Search --> : Network programming via visual C++


August 31st, 1999, 12:22 AM
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.

August 31st, 1999, 02:27 AM
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.