❔ 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
Anchy
Anchy13mo ago
so what have you tried so far
The king of kings
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
Anchy
Anchy13mo ago
what about importing the data and converting the data that needs to happen before you can even send the data
The king of kings
That's correct. I have already the project completed from my previous project, so I only need to apply the TcpClient logic.
Anchy
Anchy13mo ago
have you had a look at the tcpclient page?
The king of kings
Yeah! I did review this topic in the docs, but still didn't quite understand the logic tbh.
Anchy
Anchy13mo ago
yeah so which part don't you understand i need more to work off of here
The king of kings
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 🤗 .
Jimmacle
Jimmacle13mo ago
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
The king of kings
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 🤗
The king of kings
But many people advice me to ask many questions like this is one of the 10 people I asked previously in the server?
The king of kings
@jimmacle
Jimmacle
Jimmacle13mo ago
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
The king of kings
Aha! Ok! Got it. I will follow your tips in the context that you mentioned then.
Accord
Accord13mo ago
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.
Want results from more Discord servers?
Add your server
More Posts
✅ Toolbox option not visible in visual studio 2023 while using winforms.So, I was trying to make a winforms project and I got to the step where I am supposed to Add Control❔ event handler not being triggeredI'm having difficulty making this event works, can someone more experienced point me what im doing ❔ Is it possible to create a augment reality system in windows form in visual studio.I have looked on stack overflow and other resources to try to find out if it is possible to make a a❔ I want to only have hours, minutes, secs, on my count up for my music:here code: ```c private async Task UpdateSongPositionAndDuration(string accessToken) { ❔ I wrote a program that calculates the shortest path to move fridge to a certain place but its slowI wrote a program that calculates the shortest path to move fridge to a certain place but the runtim❔ Razor pages - Filtering data (shown in table) by some random filtersAs mentioned in title, I am showing some data in table, and I need some filters, like `serialNumberWpf RichTextBox stylingGuys any idea how to disable automatic styling in WPF richtextbox For example i have toggle button ❔ Just beginning the stuffI found that c# is what I need basically, because I can do a lot of funny stuff with it. I need to kThis project is not supported in C# Dev Kit.I've problem when load my project in vscode. i want to change code from Microsoft Visual Studio to VQueryParameter .NET MAUIthe query parameter Id is not being set correctly in my viewmodel .when using breakpoints I am able