Astream = createstream(strport) – ClearOne Writing StreamNet User Manual
Page 36

Writing StreamNet Device Drivers
9-6
All specifications subject to change without notification. All rights reserved. Copyright © 2007 NetStreams
Main +1 512.977-9393 / fax +1 512.977.9398 / Toll Free Technical Support +1 866-353-3496
3600 W. Parmer Lane, Suite 100; Austin, TX 78727 /
www.netstreams.com.
for the underlying transport mechanism. Facilities are also provided for handling of
asynchronous streams with defined message boundaries with no need on the drivers’
part for explicitly polling the stream.
aStream = createStream(strPort)
Creates a new stream from the string specification in strPort. The form of strPort is:
{protocol}://{address}[;{options}…]
Where protocol and address are taken from the table below:
Protocol
Address
Comments
comm
0 .. # of supported device ports
Opens an RS-232 serial connection
socket
{host}:{port}
Opens a TCP/IP connection to the indicated
host and port.