LumiSoft Mail Server User API
InitNewSession Method (socket, bindInfo)
Namespaces > LumiSoft.Net.FTP.Server > FTP_Server > InitNewSession(Socket, BindInfo)
Initialize and start new session here. Session isn't added to session list automatically, session must add itself to server session list by calling AddSession().
Syntax
C#Visual BasicManaged C++
protected override void InitNewSession (
	Socket socket,
	BindInfo bindInfo
)
Protected Overrides Sub InitNewSession ( _
	socket As Socket, _
	bindInfo As BindInfo _
)
protected:
virtual void InitNewSession (
	Socket^ socket, 
	BindInfo^ bindInfo
) override
Parameters
socket (Socket)
Connected client socket.
bindInfo (BindInfo)
BindInfo what accepted socket.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)