jothibaskaran

Hi,

I 'm developing TCP server on the IOCP.

It send huge amount of data to multiple clients continously using wsasend.

initially it works fine but after sometimes, GetQueuedCompletionStatus does not return completion status for sending data.

so my server get error no 64 and 121. I could not find why this error occur. Please help me to solve this problem.

BOOL bstatus = GetQueuedCompletionStatus( m_hCompletionPort,&dwBytesTrans,(LPDWORD) &pClientContext,(LPOVERLAPPED*) &pPerIOData,INFINITE)

After return bstatus = 0,dwBytesTrans=0, it returns ERROR_NETNAME_DELETED and ERROR_SEM_TIMEOUT

The Error is "ERROR_NETNAME_DELETED follwed by ERROR_SEM_TIMEOUT"

My TCP Server is running on windows 2003 Adv. server with 4 processor.

Please help

jothi




Re: Winsock Kernel (WSK) How To solve Problem in IOCP(socket)

jothibaskaran

Hi i solve this porblem,

The error comes bcoz. of Port forwarding.(NAT)

Thanks

Jothi






Re: Winsock Kernel (WSK) How To solve Problem in IOCP(socket)

johnd1234

Hi:

I also have this problem. (I didn't block infinite but my WSASend completion takes a long long time). My set up is one PC server and two xbox360 consoles on the same (gigabit) switch. How do you figure out the NAT is the problem

Thanks,

Steve