I'm a beginner in network programming and i should make a network with 2 nodes for my project.
My need is to make an event handler in vc++ or cbuilder in which, when any data comes from the other side, this event handler is automatically called and I do my work with the received data in this handler. There is also a function for transmission of a packet.
Is there any ready dll or header file for this?
As I've searched, there are at least 3 ways for this work:
1. virtual com ports (mapping my lan card to this vcp)
2. winpcap
3. socket programming
For a beginner, which one is easier?
Can anybody help, please?