???? ?????? ???? Sockets ???? ??????? ??? ?????????

?????? ????????? ?????? ?????????
???? ???????: 111855 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

????? ?????? ?? ???? ??????? ???????? ?? ??? ???? Windows Sockets ???? ????? ????. ??? ????? ????? ?? ???????? ??? ???? ??? ???? ?? ???? ???????.

??????? ????

?????? ?? ????? Windows Sockets ?????? ?? ???? WSAData ???????? WSAStartup() ? ????? ??? ???:
struct WSAData {
     WORD          wVersion;
     WORD          wHighVersion;
     char           szDescription[WSADESCRIPTION_LEN+1];
     char          szSystemStatus[WSASYSSTATUS_LEN+1];
     unsigned short     iMaxSockets;
     unsigned short     iMaxUdpDg;
     char FAR *     lpVendorInfo
};
				
??? ???? WSAStart() ??? Windows NT
   iMaxSockets = 0x7fff (32767)
				
??? iMaxSockets ?? ???? ?????? ?? ???? ??????? ???? ?? ??????? ?? ???? ???? ??? ????? ?????. ???? ?? ???? ????? Windows Sockets ????? ????? ???? ????? ??????? ??? ??? ????? ?? ??? ???? ????? ????? ??? ????? ???? ???????. ???? ?? ???? ????? ????? DLL ???? ????? Windows ?? ????? ?????? ???? ?? ?????. ???? ????? ??????? ????? ??? ????? ??? ??????? ?? ?? ????? ??? ?? ??? ??? ???? ??????? ????? Windows Sockets ?????? ???????.

??? ???? ??????? ?? ??? ???? Windows X iMaxSockets ??? ??? ??????. ??? ??? ??? ???? ??????? ??? ?? 8, ??????? ???? ????? ??? ????? ???????? ?????? ????? ????? ???? ???????. (??? ?? ???? ???? ?? ??? ??????? ???? szSystemStatus.) ???? ?? ???? ???? ?????? ????? ????? ???? ?? ??????? ???? iMaxSockets ???? ?? ???? ???? ??????? Windows Sockets ?????? ??? ?????????.

??? ????? ?? ???? ?????? ?? ??? ???? ??????? ???????? ?? ??? ????? ???? ??????? ???? ?????? ?? ???? ??????? ???? ???? ??????? ??????? ??????.

??? ????? ???? ?????? ?? ???? ??????? ???? ???? ??????? ??? ??????? Windows Sockets ?? ??? ??????? ?????? FD_SETSIZE ????? ??????. ?????? ????? ?? ??? WINSOCK.H SDK Win32:
/*
 * Select uses arrays of SOCKETs. These macros manipulate such
 * arrays. FD_SETSIZE may be defined by the user before including
 * this file, but the default here should be >= 64.
 *
 * CAVEAT IMPLEMENTOR and USER: THESE MACROS AND TYPES MUST BE
 * INCLUDED IN WINSOCK.H EXACTLY AS SHOWN HERE.
 */ 
#ifndef FD_SETSIZE
#define FD_SETSIZE      64
#endif /* FD_SETSIZE */ 
				
??? ??????? ??? ?????? ?? ????? ????? fd_set ????????? ?? ??????(). ?? ?????? ?????????? ?? WINSOCK.H 64. ??? ?? ????? ????? ???? ???? ?????? ??? ????? ?? ???? ????? ???? ?? 64, ????? FD_SETSIZE ???? ?? ?? ??? ?????? ??? ????? WINSOCK.H. ?????? ???? ?? ?????? ??? ????? ??????? ??? ?????? ?????? ??????? ??????? ?? makefile ??? ????? - DFD_SETSIZE = 128 ????? ???? ??????? ??????? ?? Microsoft C.

??????: ????? FD_SETSIZE ????? ????? ?? ???? ??? ??? ???? ??????? ???? ?? ??????? ?? ??? ????? Windows Sockets ??????.

???????

???? ???????: 111855 - ????? ??? ??????: 10/????/1427 - ??????: 3.1
????? ???
  • Microsoft Windows NT Advanced Server 3.1
  • Microsoft Windows NT Workstation 3.1
????? ??????: 
kbmt kbnetwork KB111855 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????111855

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com