Jan 23, 2007

Connection reset by peer

I've been too busy nowadays due to work, our project should start next month, we are closing those weird and awful yesterday-was-working bugs. Most recent bug includes one related to sockets. I have a C-written socket server that sends and receives (but send more than receives) and a in the other side there is the C#-written socket client that does the opposite, I don't know why since past Monday started to throw Connection reset by peer, after googling all around finally found the solution: to set both buffers to its default value 8192 bytes, according to MSDN and some links I read that value should be the default one, however it didn't work until I forced that value and now is working like a charm!

Now I have less things to in my Cycle's TODO list.