I am writing a 2D multiplayer game consisting of two applications, a console server and windowed client. So far, the client has a FD_SET which is filled with connected clients, a list of my game objec
Actually I\'m working on very simple FTP server. Now I have problem with sending file (RETR in FTP protocol). I\'m using sockets and binary mode in my client. Files with text send perfectly, but probl
I got a problem about WinSock. The situation as follow: In LAN, different subnet, Server listen on port using non-blocking socket, 1000 clients connect to Server, also non-blocking. Network packet ca
This question already has answers here: Closed 10 years ago. Possible Duplicate: In W开发者_开发技巧in32, is there a way to test if a socket is non-blocking?
I have a IOCP based server which we have used forlong time. Now we need to add SSL support to this. I am struggling to find a clean solution. I have found two options suggested in the other two thread
I was building a small program to download something from a website once a day. But whenever I run my program, it outputs \"WSAConnectByName: returned FALSE with error code 10109\", which is WSATYPE_N
I have a linux applications which sends data over UDP protocol. It uses these header files: #include <stdio.h>
im trying to send a packet from my C program to my Delphi program, the data is variable in size, and if i used char Data[1024]; i开发者_如何学运维t will send 1024 bytes even if the data is 3 bytes, an
please how to add winsock library to Visual C++ 2008 Express? I tried including <windows.h> alone, than <windows.h> and <winsock.h>, but I get LINK error on WSAStartup().
I am trying to code a small test-server for completion ports. But when I try to call Accept开发者_如何学GoEx... it always returns WSAEINVAL as the winsock error code...