winsock2
C Sockets: Avoiding garbage when socket is closed
I\'m programming a server and a client using non blocking so开发者_开发问答ckets (fd_sets and select function) and once the server closes or shuts down a client socket, the client starts receiving a l[详细]
2023-03-04 03:55 分类:问答Communicating with a DLL
I have an LSP (Layered Service Provider) DLL, but once it\'s installed in the catalog, how to i communicate with it in my program? My LSP is based largely off of Microsoft\'s sample LSP.[详细]
2023-02-27 09:15 分类:问答Using a TCP connection to GET data from a HTTP server, on rare occasion there's garbage data
I\'m writing a networked game in C++ using Winsocks 2.2, using Visual Studio 2010, and decided it would be a good idea to use my web-server to store a list of active servers for the game.When a server[详细]
2023-02-24 11:06 分类:问答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 分类:问答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 分类:问答Socket recv call freezes thread for approx. 5 seconds
I\'ve a client server architecture implemented in C++ with blocking sockets under Windows 7. Everything is running well up to a certain level of load. If there are a couple of clients (e.g. > 4) recei[详细]
2023-02-18 22:46 分类:问答Why am I getting linker errors for ws2_32.dll in my C program?
I am writing my program in Visual Studio 2010. I am unable to link a file named ws2_32.dll with my project.[详细]
2023-02-15 02:26 分类:问答WinSock2 on Windows XP and ICMPv6
I am trying to programatically send out ICMPv6 echo requests (ping6) using WinSock2. The ICMPv6 checksum is calculated based on the whole IPv6 packet that will be sent out. For that reason - from what[详细]
2023-02-14 02:48 分类:问答Receiving all data sent with C sockets
If I write a server, how can I implement the receive function to get all the data sent by a specific clie开发者_如何学运维nt if I don\'t know how that client sends the data?[详细]
2023-02-14 01:35 分类:问答Handling asynchronous sockets in WinSock?
I\'m using a message window and WSAAsyncSelect. Ho开发者_开发知识库w can I keep track of multiple sockets (the clients) with one message window?Windows Supports several modes of socket operation, and[详细]
2023-02-11 14:34 分类:问答