Page 1 of 1

Problem using TScSSHChannel sockaddr_in undeclared identifie

Posted: Thu 08 Sep 2011 00:58
by JeffLaing
If I place any code in the OnSocketConnect, or OnSocketDisconnect I get the error Undeclared identifier sockaddr_in.
What unit do I need to add to get this to work ?

Thanks
Jeff

Posted: Tue 13 Sep 2011 07:50
by Dimon
The sockaddr_in type is declared in the WinSock unit. To solve this problem, add WinSock to the uses clause of your unit.