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
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
The following c++ program should convert each line to uppercase using socket datagram to communicate between two threads.
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
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
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
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:
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
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.
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