⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 telnetif.h

📁 本软件是TI公司免费提供的网络开发包 现在好象很难找到,有黑心的公司把它改一改,就卖价5000元,对网络开发和网络驱动开发有参考价值
💻 H
字号:
/*
 *  Copyright 2006 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *
 *  @(#) TCP/IP_Network_Developers_Kit 1.91.00.08 08-22-2006 (ndk-a08)
 */
//--------------------------------------------------------------------------
// Network Tools Library
//--------------------------------------------------------------------------
// TELNETIF.H
//
// Interface to the tools available in NETTOOL.LIB
//
// Author: Michael A. Denio
// Copyright 1999, 2003 by Texas Instruments Inc.
//-------------------------------------------------------------------------

#ifndef _TELNETIF_H_
#define _TELNETIF_H_

//
// TELNET SERVICE
//

//
// Telnet Parameter Structure
//
typedef struct _ntparam_telnet {
        int     MaxCon;             // Max number of telnet connections
        int     Port;               // Port (set to NULL for telnet default)
        SOCKET  (*Callback)(PSA);   // Connect function that returns local pipe
        } NTPARAM_TELNET;

//
// TelnetOpen
//
// Create an instance of the Telnet Server
//
// Compatible with NT_MODE_IFIDX and NT_MODE_IPADDR.
//
// Returns a HANDLE to the Telnet instance
//
_extern HANDLE TelnetOpen( NTARGS *pNTA, NTPARAM_TELNET *pNTP );

//
// TelnetClose
//
// Destroy an instance of the Telnet Server
//
_extern void TelnetClose( HANDLE h );

//
// telnetClientProcess
//
// This entry point is used to invoke telnet directly from
// the server daemon.
//
_extern int   telnetClientProcess( SOCKET s, SOCKET (*cbfn)(PSA) );


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -