MityDSP Documentation Index
Public Member Functions
tcWins Class Reference

#include <lwip/wins/wins.h>

List of all members.

Public Member Functions

 tcWins ()
int run (const char *name, struct ip_addr *ipaddr)

Detailed Description

This class is the MityDSP Windows Name Service deamon. Your application will create one tcWins object to handle all of the wins name lookup requests received from other PCs on the network.


Constructor & Destructor Documentation

tcWins::tcWins ( )

This constructor creates the WINS deamon.

Note:
The deamon will not start running until you call the function tcWins::run.

Member Function Documentation

int tcWins::run ( const char *  apName,
struct ip_addr *  apIpAddr 
)

This function starts the WINS deamon.

Note:
This function will not return unless an initialization error occurs. Initialization errors will be recorded in human readable format to the debugger trace log.
Parameters:
[in]apNameThe netbios name for your MityDSP device (15 chars max).
[in]apIpAddrThe IP address of your MityDSP device.
Returns:
-1 if error.

  
Generated on Mon Apr 22 2013 11:33:33 for MityDSP Net by  Doxygen Version 1.8.1.1
Copyright © 2009, Critical Link LLC, All rights reserved.