关于 WSASocket, 一定给分!!!
Hi, 各位!
如果我的函数调用返回错误号 10055,意思是:
No buffer space available.
An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.
请问这是什么意思啊?
SOCKET WSASocket (
int af,
int type,
int protocol,
LPWSAPROTOCOL_INFO lpProtocolInfo,
GROUP g,
DWORD dwFlags
);
MSDN 里面的帮助是这样的,但我没有看懂,能给我讲讲各个参数的意思和用法吗?
af
[in] An address family specification.
type
[in] A type specification for the new socket.
protocol
[in] A particular protocol to be used with the socket that is specific to the indicated address family.
lpProtocolInfo
[in] A pointer to a WSAPROTOCOL_INFO structure that defines the characteristics of the socket to be created.
g
[in] Reserved for future use with socket groups. The identifier of the socket group.
dwFlags
[in] A flag that specifies the socket attribute.
谢谢!!