Now you can download a copy of these docs so you can use them offline! Download now
SocketStreams Class Reference

#include <SocketStreams.h>

Static Public Member Functions

static IOStreamFactorynewStreamFactory (const char *host, int port)
 
static IOStreamProvidernewStreamProvider (int port)
 

Detailed Description

Static factory for socket stream factories and providers

Author
Mitchell

Definition at line 26 of file SocketStreams.h.

Member Function Documentation

IOStreamFactory & SocketStreams::newStreamFactory ( const char *  host,
int  port 
)
static

Create a new IOStream factory

Parameters
host
port
Returns
a IOStreamFactory that will create Socket Connections on the given host and port
Exceptions
IOException

Definition at line 14 of file SocketStreams.cpp.

IOStreamProvider & SocketStreams::newStreamProvider ( int  port)
static

Create a new IOStream provider

Parameters
port
Returns
an IOStreamProvider for a socket server on the given port
Exceptions
IOException

Definition at line 18 of file SocketStreams.cpp.


The documentation for this class was generated from the following files:

Generated on Sat Apr 26 2014 12:26:47 for WPILibC++ by doxygen 1.8.6