Socket Commands For Generalized Network Communication - Roku M1000 Software Manual

Roku soundbridge m1000 digital media receiver: software guide
Hide thumbs Also See for M1000:
Table of Contents

Advertisement

Socket Commands for Generalized Network Communication

RCP provides commands for performing basic network communication
transactions through an interface somewhat akin to the Berkeley sockets model.
These commands are intended for use by directly-connected clients of an
embedded WMM, but they are available to any RCP client that wants to use
them.
The intention of the RCP sockets commands is to allow arbitrary communications
via TCP/IP streams and UDP datagrams, and to allow listening on a TCP port on
the RCP host device and spawning new streams when outside clients connect to
that port, but the current functionality is incomplete. Currently, RCP supports
opening of TCP sockets to a remote host, and sending and receiving arbitrary
amounts of data on those sockets.
The rest of the sockets functionality will be provided in a future software release.
The commands for generalized network communication are:
• SocketStreamOpen
• SocketClose
• SocketReceiveBytes
• SocketSendBytes
HISTORICAL NOTE: These 4 socket commands were added to RCP in
software release 2.6.4. (As of this writing on 7/13/06, the 2.6 software is not
available for general release.)
Copyright© 2006 Roku, LLC
Page 123
www.rokulabs.com

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

M2000M500

Table of Contents