MityDSP Documentation Index

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] apName The netbios name for your MityDSP device (15 chars max).
[in] apIpAddr The IP address of your MityDSP device.
Returns:
-1 if error.

  
Generated on Fri Sep 23 16:34:01 2011 for MityDSP Net by  Doxygen Version 1.6.1
Copyright © 2009, Critical Link LLC, All rights reserved.