In some cases, FHSocket is not cast into WPARAM in OverbyteIcsWSocket which can cause an exception. Attached patch fixes this problem and also adds missing WSocket_setsockopt overload accepting integer 'optval'.
Primož -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be