winsock
How to control the connect timeout with the Winsock API?
I\'m writing a program using the Winsock API because a friend wanted a simple program to check and see if a Minecraft server was running or not. It works fine if it is running, however if it is not ru[详细]
2023-04-13 01:39 分类:问答What is the meaning of the Port Number parameter in Window's ATL Winsock wrapper CSocketAddr::FindINET4Addr
Is it the UDP port used to send out the DNS request, e.g. 53?Or can a host name like example.com have a different IP address resolution based off the specific port being used, e.g. example.com port 80[详细]
2023-04-12 06:28 分类:问答c# app communicate with vb6 app
I wrote a c#.net 4.0 application and I need to send data to a VB6 application. the VB6 can send and recive data via DDE, but I can\'t find any working and or understandable DDE protocol for my C# app.[详细]
2023-04-11 20:34 分类:问答How to Multicast (send) to first NIC?
I found recently that if I have a dial-up connection (this is for a kiosk) and a local area netw开发者_高级运维ork connection, when the dial-up connection is established (with internet access), my mul[详细]
2023-04-11 13:41 分类:问答Multiple immediate number of WSASend calls and the data sending order
As you know, WSASend-completion-WSASend-...(repeat) guarantees sending data in order. However, I heard that WSASend-WSASend-WSASend-completion-completion-completion ALSO GUARANTEES sending data in ord[详细]
2023-04-10 18:49 分类:问答Why would an Overlapped call to recv return ERROR_NO_MORE_ITEMS(259)?
I did a few tests with an I/O-Completion port and winsock sockets. I encountered, that sometimes after I received data from a connection and then adjacently call WSARecv again on that socket it return[详细]
2023-04-09 08:21 分类:问答VB6 Winsock Error Invalid Argument 10014
Private Sub Form_Load() Winsock1.RemotePort = 22222 Winsock1.Protocol = sckUDPProtocol End Sub Private Sub Command1_Click()[详细]
2023-04-08 20:49 分类:问答C++ Winsock unicode problem
I have just converted a program that uses winsock to unicode, and im running into a problem. Here\'s my code, well part of it[详细]
2023-04-08 19:44 分类:问答What can happen when I forcly terminate thread at Winsock connect function?
What can happen when I use TerminateThread while Winsock connect function is in progress? I need to immediately shutdown the thread which is currently connecting to the socket b开发者_Go百科ut I don\'[详细]
2023-04-06 23:38 分类:问答GetDIBits help
I\'m trying to get the bits of a 1bpp bitmap using getDIBits using this code: HDC dcmem=NULL; PBYTE buf=NULL;[详细]
2023-04-06 22:40 分类:问答