LumiSoft Mail Server User API
InitNewSession Method (socket, bindInfo)
Namespaces > LumiSoft.Net > SocketServer > 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 virtual void InitNewSession (
	Socket socket,
	BindInfo bindInfo
)
Protected Overridable Sub InitNewSession ( _
	socket As Socket, _
	bindInfo As BindInfo _
)
protected:
virtual void InitNewSession (
	Socket^ socket, 
	BindInfo^ bindInfo
)
Parameters
socket (Socket)
Connected client socket.
bindInfo (BindInfo)
BindInfo what accepted socket.

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