winsock
When doing socket programming, what is the correct way to look up a domain name and then connect to it?
I\'ve programmed networked applications, but primarily in Python. I\'m writing a C++ application and I\'m a little fuzzy on exactly what the syntax开发者_开发知识库 should be to look up a domain name[详细]
2023-04-01 12:28 分类:问答Winsock IOCP Server Stress Test Issue
I have a winsock IOCP server written in c++ using TCP IP connections.I have tested this server locally, using the loopback address with a client simulator.I have been able to get upwards of 60,000 cli[详细]
2023-03-31 14:22 分类:问答c - WSAWaitForMultipleObjects blocking any thread but last
i have a problem with a multi-thread SMTP/POP3 server. The server starts a pool of threads to handle incoming connections. The main thread create the sockets and the the threads, passing the sockets a[详细]
2023-03-30 10:32 分类:问答Windows API: Undefined reference to DisconnectEx
I\'m developing an application that uses windows sockets. My socket class has a method named Disconnect that uses DisconnectEx, but i get the following error at linking time:[详细]
2023-03-30 03:42 分类:问答Receiving multiple messages Winsock2 C++
I am trying to make a program using Winsock2 where I can send a message from client to server. I can do this, but the problem is I can only send one message and then I have to restart the server to re[详细]
2023-03-30 03:14 分类:问答How does WSARecv make use of lpOverlapped? How can I manually signal the event?
I need to f开发者_运维技巧igure out how WSARecv uses the lpOverlapped argument when lpCompletionRoutine is null. It signals the event located in lpOverlapped, right? But there must be more to it than[详细]
2023-03-29 21:32 分类:问答Multhithreading, sockets
I have manualy writing class for WinSock. My program have more that one threads. I use to synchronize objects(example std::queue) with critical sections.[详细]
2023-03-29 01:04 分类:问答Know when data is sent
I believe know that call send or WSASend in nonblo开发者_JAVA技巧cking mode add simply data in a internal buffer, but how know when data is really sent ? My goal is to display a progress bar.You could[详细]
2023-03-27 11:07 分类:问答C Socket File Transfer Error
I have a file transfer code written in C using windows sockets which seems to work but keeps transferring fewer than the desired number of bytes of the file.[详细]
2023-03-25 16:57 分类:问答Sending POST data using winsock (and receiving them with PHP server side script)
So I thought I would play with HTTP a bit and try to send simple plain(not encoded) text from my program to a server. However, something is not right and I don\'t know what.[详细]
2023-03-25 05:58 分类:问答