❔ Receive data from tcp client by one
Hello, the code is below, the problem is that the data is wrote only when the client disconnects, which is not correct
8 Replies
i would say
while (client.Connected)
is not really needed
you can just loop on data == null
apart from that, are you sure the issue is not in the client?definitely gonna need a better explanation of the issue
nvm, i found out i dont need to use tcp stuff, i just need to use unixdomain sockets...
but i dont get what am i doing wrong
you had problems using the simple high level stuff and you want to go down the abstraction layer?
sorry but it doesn't seem the right thing to do (yet)
aight, im gonna do more research about it then
doing a simple socket console between two processes is easy, i even did with a one liner once
that's why it's weird that there are errors, and in the code i saw it doesn't seem like there aren't any
so maybe the problem isn't there
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.