* 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