When my client application launchs, it binds the UDP port like this:
this.BindPort(5001);
The BindPort method implement blow:
public void BindPort(int port)
{
m_listener = new Socket( AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp );
IPEndPoint Point = new IPEndPoint( IPAddress.Any, Port );
m_listener.Bind( port);
…
We use the log4net to log the winform application's event and error.
Our customer want check the log file during the application running.
But I can't find out when and how the log4net do the write(commit) operation.
And how to meet the customer's requirement, except creating another logger by myself.
Any help? Thanks.