Disconnect("message") and connection.Deny("message") are broken.

182 views
Skip to first unread message

Michał Lorenc

unread,
Dec 24, 2017, 5:17:19 PM12/24/17
to lidgren-network-gen3
Hello, i have a small problem with messages when client is disconnecting.

For example if i want to disconnect my client with message:

client.Disconnect("ByeASASASXXXXXXXXXXXXXXX");

the output on server is always:

ByeASA

But when i disconnect from server with message:

client.Disconnect("Bye");

then output on server is null.


I have the same problem when I want to deny connection with message, and then read it on client.
How to fix that? Do anyone have the same problem?
Reply all
Reply to author
Forward
0 new messages