TSIPStackDelegate
public protocol TSIPStackDelegate : AnyObject
The delegate that the developer should implement to handle what to do when a new TCP socket is connected.
-
A new TCP socket is accepted. This means we received a new TCP packet containing SYN signal.
Declaration
Swift
func didAcceptTCPSocket(_ sock: TSTCPSocket)
Parameters
sock
the socket object.