Description:
Programming Windows Sockets.
|
|
|
File Transfer using Winsock2
|
| |
I'm trying to transfer a large file between two processes (client/ server) with a proxy process (basically used as a router) in the middle. I can set up the winsock connection. I send a user request message to transfer a file from client (through proxy) to server. The server then repeatedly calls "send" to transfer blocks of the file.... more »
|
|
How does zonealarm ...
|
| |
Hi, does anyone know which winsock function zone-alarm uses to discover network or socket events ? Greets hq
|
|
Would this work on even one platform?
|
| |
...Let's examine that, assuming mutex lock is acquire and unlock is release: ______________________________ ____________________________ void thread_1(thread& t) { S1: g_state = 666; t.membar() { M1: lock2(); M2: unlock1(); M3: lock1(); M4: unlock2(); }; S2: g_done = true;... more »
|
|
recvfrom() timeout
|
| |
After using setsockopt() to set the receive timeout to XXX milliseconds, the actual measured timeout is XXX + 530 milliseconds, about. The XXX range used was 50 up to 1000 ms. This is true whether I use TCP or UDP; copper Ethernet, WiFi or 127.0.0.1; test program written in Delphi Pascal 6 or LCC c; or running on an XP or Win2000... more »
|
|
how to interrupt WSARecv if connection is lost
|
| |
Hi Server side uses blocking socket and reads data with use of WSARecv function via network from client . Client side lost connection (I simply remove connector from network card), but WSARecv function on server side pending read . How to force WSARecv to return if connection on client was lost?... more »
|
|
Client x server (absurd)
|
| |
Excuse my English school, I'm Brazilian. I have a client application and server. Is already in operation have some time. However, I do some speed tests and I was surprised by what happened, i ask for help to unravel: to do the speed test is a routine consultation where the client makes requests to the server 500, which are answered, giving a time of 20... more »
|
|
Property handling of WSARecvFrom returns 10054(WSAECONNRESET)?
|
| |
I heard that overlapped I/O'ed WSARecvFrom may return 10054 (WSAECONNRESET) if the prior sending packet to the unreachable host failed and ICMP packet 'host unreachable' is received. If this occurs, what is the best handling of this case? As far as I know, I used this scheme: WSARecvFrom(); if(it returns 10054) retry WSARecvFrom() until it doesn't return... more »
|
|
Cause of high NP Pool (nonpaged pool) in afd.sys?
|
| |
How can I find the cause of NP pool (nonpaged pool) peaking high of afd.sys? I tried verifier.exe and pooltag.exe however I cannot find the exact cause. I googled for it and found some forum threads which already discusses it, and someone say SO_SNDBUF,SO_RCVBUF and someone say 'too much issue of overlapped WSASend(To) and WSARecv(From)' can also cause the... more »
|
|
Ryhmän sfnet.tori.myydaan.atk.ohjelma t virallinen kuvaus
|
| |
Siis .. VAUDE! _____________________ 08.05.2008 jää historiaan hetkenä joka kiistatta osoitti miten maailmanennätysvauhtia suorastaan megaromahtanut ydinvoiman kannatus konkretisoi laajassa rintamassa myös Suomessa. Miten tällainen saavutus on edes teoriassa mahdolista maassa, jossa ydinvastustaminen rinnastetaan... more »
|
|
|