❔ I'm trying to implement this networking project, but not sure how to do it?
I'm asked to import data from a text file, convert these data and send it to a program called central computer using TcpClient
17 Replies
so what have you tried so far
Not much yet tbh, I just created a separate class, defined three methods for connecting, sending receiving data.
Let me show you my planing for this functionality
what about importing the data and converting the data
that needs to happen before you can even send the data
That's correct. I have already the project completed from my previous project, so I only need to apply the TcpClient logic.
have you had a look at the tcpclient page?
TcpClient Class (System.Net.Sockets)
Provides client connections for TCP network services.
Yeah! I did review this topic in the docs, but still didn't quite understand the logic tbh.
yeah so which part don't you understand
i need more to work off of here
Ok
Oh! I was wrong when I replied that the project is completed. Actually, I need to implement the text file logic first and then work with the TcpClient part, sorry my bad 🤗 .
you have to actually try to solve the whole problem before asking for help like we talked about before
otherwise the only way we can help is by walking you through it, which you need to learn to do on your own because that's more important than being able to write code down
Yeah! That's very true. I keep forget to try out first on my own and going directly asking people, sorry bro. Thanks for reminding me 🤗
But many people advice me to ask many questions like this is one of the 10 people I asked previously in the server?
@jimmacle
yes, after you've already tried
you ask questions and try to answer them yourself, if you get stuck you ask someone else
your questions to other people should be specific enough and contain enough context that they can reasonably be answered
"i'm not sure how to do this entire project" is way too high level, you should be able to break it down more considering how much help you've already received
Aha! Ok! Got it. I will follow your tips in the context that you mentioned then.
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.