Problem using TScSSHChannel sockaddr_in undeclared identifie

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
JeffLaing
Posts: 3
Joined: Thu 08 Sep 2011 00:51

Problem using TScSSHChannel sockaddr_in undeclared identifie

Post by JeffLaing » Thu 08 Sep 2011 00:58

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

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 13 Sep 2011 07:50

The sockaddr_in type is declared in the WinSock unit. To solve this problem, add WinSock to the uses clause of your unit.

Post Reply