![]() |
|
[C#] [Unsolved] Client server not receiving more than once - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C#] [Unsolved] Client server not receiving more than once (/showthread.php?tid=5155835) |
[Unsolved] Client server not receiving more than once - blondedude092 - Feb 1, 2016 Download solution I have not been able to figure out what to do to get it to work. Perhaps some of you guys can help out. I would really appreciate the help. Thank you. Server Side: Client.cs ServerMainForm.cs Client Side: ClientMainForm.cs * - BahNahNah - Feb 1, 2016 Post your code if you want help. * - blondedude092 - Feb 1, 2016 (Feb 1, 2016 08:04 PM)BahNahNah Wrote: Post your code if you want help. I would if I wouldn't keep running into HackForums.net blocked page because of some word in the code triggered the block. * - _B1N4RY_ - Feb 1, 2016 (Feb 1, 2016 08:13 PM)blondedude092 Wrote: I would if I wouldn't keep running into HackForums.net blocked page because of some word in the code triggered the block. upload it to pastebin, share the link ;) * - blondedude092 - Feb 1, 2016 (Feb 1, 2016 08:17 PM)_B1N4RY_ Wrote: upload it to pastebin, share the link ;) haha after I had updated the post I saw your post! Minds think alike. * - neiqhtworks - Feb 2, 2016 Are you using the really old source that was posted here a while back? I believe it says something like "I intentionally broke it so people who have no idea what they're doing wont find this of any use." * - blondedude092 - Feb 6, 2016 (Feb 2, 2016 05:26 PM)neiqhtworks Wrote: Are you using the really old source that was posted here a while back? No. I'm not actually. * - hackpet - Feb 7, 2016 Look at this. https://msdn.microsoft.com/en-us/library/bew39x2a(v=vs.110).aspx (I know this one is using sockets, but i think the main logic remains the same.) I'm not sure how async really works, maybe later i will look into it, but reading this example i feel like you miss some parts too. Try to fix it according to this one. F.e.: I didnt see any call to end the async calls, f.e.: https://msdn.microsoft.com/en-us/library/system.net.sockets.networkstream.endread(v=vs.110).aspx this one. Sorry if i'm wrong.... |