How can I send and recieve packets of data using TAPI

Discussion in 'Windows Networking' started by to_rachit, Jan 30, 2004.

  1. to_rachit

    to_rachit Guest

    I am developing a communication application using TAPI
    and VC++.In my application I connect two remote machine
    using PSTN.Both machine send and recieve data simultaneously.
    Basicly ,I want to send voice with data. So I have planned that ,I
    will created separate voice and data packet and first send number of
    voice packet required to send a telephone quality sound.Than I
    will utilise remaining bandwidth by sending data packet.So I want to
    send and recieve mixture of voice and data packet.Someone have adviced
    me to refer TapiComm application.But that application used ReadFile
    and WriteFile function with overlapped structure.Using this technique
    I can only send and recieve a file not a separate packets.Can I use any
    WSASend or WSARecv in overlapped I/O mode like mecanism to send
    and recieve data using TAPI. If ReadFile and WriteFile is only option than
    how can I achieve my task using these function.Please guide me.
    to_rachit, Jan 30, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.