VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

UniSock Winsock control replacement

Vesa Piittinen  (20 Submissions)   Internet/HTML   Intermediate   Wed 3rd February 2021

A new class implementation of Winsock API. By style close to the native Winsock control and other class implementations such as CSocket and CSocketMaster, so you don't need to learn or rewrite much of existing code. The new and cool part about this class is that it is just one class file. Also, it performs better (by speed) and handles errors a bit more cleanly (you aren't forced to close the socket each time an error occurs). Other speciality is transparent Unicode support: when you switch to text mode, you start receiving TextArrival event instead of DataArrival and start getting individual lines. These lines are automatically Unicode if received line is UTF-8 or UTF-16! ANSI lines require you to use StrConv to get an usable string, thus you have the power on what to do with the raw data before any conversion has affected it. **** Support thread and documentation: https://www.vbforums.com/showthread.php?t=534580 **** Special thanks to Paul Caton and LaVolpe for their work on SelfSub, SelfHook and SelfCallback. **** UPDATE 2008-08-12: Now Vista compatible!

Rate UniSock Winsock control replacement (14(14 Vote))

Download UniSock Winsock control replacement

UniSock Winsock control replacement Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters