If you want to experiment with code for my earlier question about setsockopt and send buffer truncation, I’ve written a small test program (Linux based, might work on Mac too tho, shouldn’t be too hard to port to Winsock)
http://www.kfs.org/oliver/socket.cpp
I haven’t had to look at sockets this way for a very long time, but now that I am, I’m remembering how bloody annoying the supposedly ultra-clean and simple BSD socket API is…
Recent Comments