* TFTP client compatible with RFC-1350
* compile under Visiual c++ or borland c++
* author email: yuyushine@163.com
***************************************************/
#define _VC /* if compile under Visiual c++ else undefine this*/
#include <stdio.h>
#include <winsock.h>
#include <conio.h>
#ifndef MAKEWORD
#define MAKEWORD(l,h) ((WORD)(((BYTE)(l))|(((WORD)(BYTE)(h))<<8)))
#endif
#define WSA_MAJOR_VERSION 1
#define WSA_MINOR_VERSION 1
#define WSA_VERSION MAKEWORD(WSA_MAJOR_VERSION, WSA_MINOR_VERSION)
标签:
compatible
borland
compile
Visiual
上传时间:
2014-01-15
上传用户:yuchunhai1990