mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
556 B
22 lines
556 B
|
|
/***************************************************************************
|
|
*
|
|
* tdtcp.h
|
|
*
|
|
* This module contains private Transport Driver defines and structures
|
|
*
|
|
* Copyright 1998, Microsoft
|
|
*
|
|
*
|
|
****************************************************************************/
|
|
|
|
|
|
#define htons(x) ((((x) >> 8) & 0x00FF) | (((x) << 8) & 0xFF00))
|
|
|
|
// it seems that ntohs is the same as above since ntohs(htons(x)) = x and htnos(htons(x)) = x
|
|
#define ntohs(x) htons(x)
|
|
|
|
|
|
#define CITRIX_TCP_PORT 1494 // Offical IANA assigned ICA Port number
|
|
|
|
|