Posts

Showing posts with the label Sockets

C# An Established Connection Was Aborted By The Software In Your Host Machine

Answer : An established connection was aborted by the software in your host machine That is a boiler-plate error message, it comes out of Windows. The underlying error code is WSAECONNABORTED. Which really doesn't mean more than "connection was aborted". You have to be a bit careful about the "your host machine" part of the phrase. In the vast majority of Windows application programs, it is indeed the host that the desktop app is connected to that aborted the connection. Usually a server somewhere else. The roles are reversed however when you implement your own server. Now you need to read the error message as "aborted by the application at the other end of the wire". Which is of course not uncommon when you implement a server, client programs that use your server are not unlikely to abort a connection for whatever reason. It can mean that a fire-wall or a proxy terminated the connection but that's not very likely since they typical...

Countdown Timer Image GIF In Email

Image
Answer : While maybe gifsockets would work (I haven't tried that before...), there is no network traffic while I am looking at the image other than the initial image load. I am also seeing it it jump from 41 to 42 again. A Reload took it down to 39. It appears to be just a script that generates 60 frames of animation and sends them to the user. This could probably be done in any language. Here is how it is done in php: http://seanja.com/secret/countdown/ I found http://sendtric.com/ which is free and very easy to integrate.