Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream on existing connection #5

Open
connor21 opened this issue Feb 2, 2016 · 0 comments
Open

Stream on existing connection #5

connor21 opened this issue Feb 2, 2016 · 0 comments
Milestone

Comments

@connor21
Copy link
Contributor

connor21 commented Feb 2, 2016

Using libTML streams on existing connections requires new API:

tml_Conn_RecStream_Open

hconn - connection handle
iID - unique stream id
sprofile - profile id

TML_INT32 tml_Conn_RecStream_Open(TML_CONN_HANDLE hconn, TML_STREAM_ID_TYPE iID, const TML_CTSTR *sprofile)

tml_Conn_SndStream_Open

hconn - connection handle
iID - unique stream id
sprofile - profile id

TML_INT32 tml_Conn_SndStream_Open(TML_CONN_HANDLE hconn, TML_STREAM_ID_TYPE iID, const TML_CTSTR *sprofile)

tml_Conn_RecStream_Close

hconn - connection handle
iID - unique stream id
bRetainOpen - enable reopening the stream if true

TML_INT32 tml_Conn_RecStream_Close(TML_CONN_HANDLE hconn, TML_STREAM_ID_TYPE iID, TML_BOOL bRetainOpen)

tml_Conn_SndStream_Close

hconn - connection handle
iID - unique stream id
bRetainOpen - enable reopening the stream if true

TML_INT32 tml_Conn_SndStream_Close(TML_CONN_HANDLE hconn, TML_STREAM_ID_TYPE iID)
@connor21 connor21 added this to the Version 1.2 milestone Feb 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant