burakoner / TcpSharp

Faster TCP Server and Client tools using low-level implementations
MIT License
15 stars 4 forks source link

data delimiter and Server_OnDisconnected not raised. #1

Open mzelecom opened 2 years ago

mzelecom commented 2 years ago

hi. i want to handle data when /n/r get at end of data bytes.can we set delimiter ? and i start example but Server_OnDisconnected not call when client Disconnected.

mzelecom commented 8 months ago

i update to last version. but event disconnect again not raised. private static void Server_OnDisconnected(object sender, OnServerDisconnectedEventArgs e)

mzelecom commented 7 months ago

hi. i add this line to fix disconnect event.

disconnect

grosfaignan commented 6 months ago

hi, i have the same probleme, where have i to add this line ?