Is there a way to tell the binary reader how many characters to read because i need the code to read certain amount of bytes in every row of the code and this code i want to read the first row i need to read only 10 Bytes and not the whole row
this is a part of the code that reads from the file
string emriK = brHuazimet.ReadString();
now i know how to write this string into the file i am going to write after reading this part but when i try to read it reads to much from the code
hi guys . i have many client that are connected to the server .
i can connect to the server completely with out any wrong in my code from my clients .
and the server response the client pretty fine .
okay , what do i need to do , is that if one client send some data to the server , i need the server to response to all the clients . like
My advice is the same as I offer in response to most socket-related programming questions: don't roll your own, there's no point. Socket code is hard to write well and even harder to test thoroughly.
Instead, spend a bit of time getting your head around ZeroMQ[^]. Trust me, it will be time well spent. What you are trying to do is easily achieved with ZeroMQ. Look at the dealer-router & publish-subscribe patterns. I think this is the sort of thing you're after (taken from the ZeroMQ Guide) :-