C
C#2y ago
danilwhale

System.InvalidOperationException The operation is not allowed on non-connected sockets

i have client and server, client creates and connects tcp client to server tcp listener, client tcp closes only on exit, when i click it sends data to server listener and server resends for every connected client, and closes streams not clients, but client disconnects from server. i cant found reason, so here code for client (game): https://pastebin.com/tSJ2tAMH, and for server: https://pastebin.com/BWiQRsqQ
Pastebin
asdasdafds - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
0 Replies
No replies yetBe the first to reply to this messageJoin