winsock
UDP socket fail to receive ECONNREFUSED
I created a socket using: socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP). According to this, if I send simple packet several times (multiply send() and/or sendto()), I can get ECONNREFUSED. ICMP should tel[详细]
2023-02-28 11:07 分类:问答Tracking down the source of handle leaks in WinSock MFC application
We are developing an application in which we are using a WinSock-based sime socket approach to communicate with an outside module. Our requirement is to make sure that the connection will always be on[详细]
2023-02-24 09:35 分类:问答Why sending datagram doesn't work if I don't create a TCP connection first?
The following c++ program should convert each line to uppercase using socket datagram to communicate between two threads.[详细]
2023-02-24 02:55 分类:问答Winsock TCP Packets sent but not reaching host
When the server sends 4 or more - 25 Byte packets to the client only the first 2 are processed by the client. I am using Event select on the client, and send on the server. There are no errors but onl[详细]
2023-02-23 07:46 分类:问答Validate IP Address (host) exists prior to connecting (ping)
I have a problem where I need to determine if the host exists prior to connecting to it. This host does not work with the function gethostbyaddr() because it is not PC-based and does not return host i[详细]
2023-02-22 14:54 分类:问答Sending a keyboard buffer via Winsock
Now I\'m new to the WINSOCKs, and not super fluent in C++, so bear with me. I\'ve written a NetworkServer and NetworkClient class, mostly based off of the MSDN tutorials. The client will be sending th[详细]
2023-02-21 06:03 分类:问答In Win32, is there a way to test if a socket is non-blocking?
In Win32, is there a way to test if a socket is non-blocking? Under POSIX sys开发者_如何学Ctems, I\'d do something like the following:[详细]
2023-02-21 00:41 分类:问答Winsock's send() works oddly
I\'m trying to write an experimental server program that accepts a connection and sends a message to the cl开发者_如何学编程ient. I got the client to connect, but I can\'t seem to send the message wit[详细]
2023-02-20 11:19 分类:问答Handling WSAENETDOWN
I\'m new to Winsock programming and I\'m trying to learn how to use asynchronous sockets with WSAEventSelect(). I\'m a bit unsure on how to handle a WSAENETDOWN error.[详细]
2023-02-19 23:27 分类:问答Stop EIdWinsockStubError, WSACancelBlockingCall error appearing when closing Internet Explorer
I have an ASP.NET application where one of the pages hosts a 3rd party ActiveX control.A condition can sometimes occur with the ActiveX control that causes the following error message to be displayed[详细]
2023-02-19 17:54 分类:问答