[C#]need help on network programing

11/14/2012 13:33 kondos#1
i need reference for methods [codes] which i can send , receive and parse packets Iam not good in C# i learned and understood the logic of packets but i already don't how to send packet
and i looked on projects like zbot src and couldn't understand it
BTW:sry for bad English
11/14/2012 17:01 DaxterSoul#2
You should learn C# first before working with network or packet related stuff. As soon as you're familiar with the language you could start doing simple network things.
11/15/2012 21:02 kondos#3
my problem that i am depended on copy and paste

anyone know a good ebook to star from it :D
11/17/2012 09:10 intercsaki#4
Well, I had no luck in self-teaching in C#. I'm a student of a college at the moment, I'm beight taught computer programming. It's hard even like this.. :)
11/18/2012 10:55 lesderid#5
C# is really easy to learn actually.

Great tutorials:
[Only registered and activated users can see links. Click Here To Register...] (net-tutorials.com)
[Only registered and activated users can see links. Click Here To Register...] (MSDN)
[Only registered and activated users can see links. Click Here To Register...] (csharp-station.com)

Other great resources:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...] : Not free and pretty advanced, but *great* book. Certainly a must-read if you are interested in more advanced C#.
11/23/2012 18:00 intercsaki#6
Quote:
Originally Posted by lesderid View Post
C# is really easy to learn actually.

Great tutorials:
[Only registered and activated users can see links. Click Here To Register...] (net-tutorials.com)
[Only registered and activated users can see links. Click Here To Register...] (MSDN)
[Only registered and activated users can see links. Click Here To Register...] (csharp-station.com)

Other great resources:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...] : Not free and pretty advanced, but *great* book. Certainly a must-read if you are interested in more advanced C#.

Well probably easy who haven't started learning programming 4 months ago. :D
03/28/2013 19:32 miamidolphin#7
Quote:
Originally Posted by intercsaki View Post
Well probably easy who haven't started learning programming 4 months ago. :D
Programming isnt hard at all. If youre going to start learning physics for example, thats hard. Programming is just like playing with lego.^^ Ofc making fast, powerful algorithms are harder, but thats mathematics and not programming. :) Also implementing easy things like sro-coding for a homo-sapiens should take some days. You could learn a programming language in 2 days if you want^^
03/28/2013 19:44 Bartic#8
Quote:
Originally Posted by miamidolphin View Post
Programming isnt hard at all. If youre going to start learning physics for example, thats hard. Programming is just like playing with lego.^^ Ofc making fast, powerful algorithms are harder, but thats mathematics and not programming. :) Also implementing easy things like sro-coding for a homo-sapiens should take some days. You could learn a programming language in 2 days if you want^^
I highly doubt this. I have a little experience in programming, and I just started learning C (I will do it slowly, since we have Basics of Programming in college, and we're learning C, so I'll learn there), and I know that I wouldn't be able to learn to program in C as good as I am in Pascal and Delphi (don't laugh at me :D ) in 2 days. It takes time to get used to it. For the programming beginners it's even harder, because they don't have that programmer's way of thinking.
03/28/2013 22:43 lesderid#9
Quote:
Originally Posted by Bartic View Post
I highly doubt this. I have a little experience in programming, and I just started learning C (I will do it slowly, since we have Basics of Programming in college, and we're learning C, so I'll learn there), and I know that I wouldn't be able to learn to program in C as good as I am in Pascal and Delphi (don't laugh at me :D ) in 2 days. It takes time to get used to it. For the programming beginners it's even harder, because they don't have that programmer's way of thinking.
Most popular modern high-level programming languages have very similar concepts regarding common programming techniques like OOP (including templating, polymorphism, etc.), recursion, loops, etc. Every programming language of course has a different syntax and often a specific domain it's made for (general programming, AI programming, scripting, etc.).

However, what I personally think is the hardest part about learning a new programming language, is learning all the library types and functions that come with it (e.g. C++'s standard library, C#'s/VB.Net's .Net, Java's API, etc.).
03/28/2013 23:20 XchangliiX#10
Quote:
Originally Posted by kondos View Post
i need reference for methods [codes] which i can send , receive and parse packets Iam not good in C# i learned and understood the logic of packets but i already don't how to send packet
and i looked on projects like zbot src and couldn't understand it
BTW:sry for bad English
You can do it in every language you want...

First of all, you have to get familiar with Silkroads packet framework. Read some articles or use other information sources, it should not be that hard to understand the basic idea of the framework.

I can refer the SilkroadSecurity API by Drew Benton aka PushEDX.
Unfortunately but that would be an very easy way to understand it.
03/29/2013 19:31 Haxor#11
Well i would be happy if i can get the same,
Im learning c# from many time and i have alot of graphics games (such as mario, space) and that games.I tried to learn parsing packets from sources and
other stuff but I failed :(.
03/29/2013 22:07 Bartic#12
Quote:
Originally Posted by lesderid View Post
Most popular modern high-level programming languages have very similar concepts regarding common programming techniques like OOP (including templating, polymorphism, etc.), recursion, loops, etc. Every programming language of course has a different syntax and often a specific domain it's made for (general programming, AI programming, scripting, etc.).

However, what I personally think is the hardest part about learning a new programming language, is learning all the library types and functions that come with it (e.g. C++'s standard library, C#'s/VB.Net's .Net, Java's API, etc.).
Yeah, that's what I said, "programer's way of thinking". :D
And yeah, libraries are the hardest thing to learn about new language. You can learn syntax in a few days, but you won't be "fluent" in that new programming language.
03/30/2013 20:04 kevin_owner#13
Quote:
Originally Posted by ™Haxor™ View Post
Well i would be happy if i can get the same,
Im learning c# from many time and i have alot of graphics games (such as mario, space) and that games.I tried to learn parsing packets from sources and
other stuff but I failed :(.
You'll have to learn to crawl before you can walk. I made the same rookie mistake when I started programming. First language I learned was C++. Not the greatest choice imo. But once I started to use C# more often and felt comfortable with it I wanted too much too fast. I didn't know any socket/network programming I had no idea how stuff was send from pc to server and grabbed a few sources of emulators and just quit since I had no idea what the hell everything was.

Best way to tackle this is too actually start with the beginning learn what a socket is and how it works. How does networking work in general stuff like that. It might not be the most fun to do but in the end you'll have a better understanding of what everything is.

It's like those getting started programming books. You start off with printing a bunch of signs in a console but halfway trough the book you still print the same damn signs but the logic behind is different. At first this looks like a complete waste of your time but in the end it totally wasn't and it'll surely help you.