Jump to content

C# networking

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
Siten0308

Siten0308

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 302 posts
Hello,

just wondering and have several questions on this advanced topic (i think its advacned :P), is it quite easy to get C# networking such as making a app that can ping an ip address and return results, or even better, making a FTP app, chat, or file transfer client and server? what is IPEndPoint, is that one of the keys to making C# networking work, i know its a class, but what does that class do or be used for?

Thanks
Its only funny till someone gets hurt.... THEN ITS HILARIOUS :)

#2
gaylo565

gaylo565

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 268 posts
An IPEndPoint is a combination of an IP address and a port number used to talk to a host or client. You usually use this in combination with a socket...look it up in MSDN for a good example and a proper definition:)

#3
ArekBulski

ArekBulski

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,376 posts
Gaylo is right about IPEndPoiny. Well, pinging is easy, as it is just one class and few lines of code. But when it comes to TCP/IP and Http and Ftp... I hate it.

#4
Siten0308

Siten0308

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 302 posts
thanks for the input guys, i will look it up including giving me the answer, Hey Arek, sadly i learned this from my trainer, workout trainer, if you hate it (which i hated doing deadlifts) learn to love it, it will and has to be part of what you do, this may apply to both of us :) i dont like it either, seems complicated, however anything that can get me a job, or should i say career... i will learn it, apply it and learn to love it :)

Thanks again all
Its only funny till someone gets hurt.... THEN ITS HILARIOUS :)

#5
so1i

so1i

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 312 posts
I've just started learning about network programming using the .NET environment, and it's actually not all that bad at all. It hasn't been too taxing, and it's fairly straight forward with the use of the System.Net.Socket Namespace.

Good luck, hope you start to enjoy it ;)

#6
ArekBulski

ArekBulski

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,376 posts

Siten0308 said:

thanks for the input guys, i will look it up including giving me the answer, Hey Arek, sadly i learned this from my trainer, workout trainer, if you hate it (which i hated doing deadlifts) learn to love it, it will and has to be part of what you do, this may apply to both of us :) i dont like it either, seems complicated, however anything that can get me a job, or should i say career... i will learn it, apply it and learn to love it :)

Thanks again all

Now that's the spirit!... :)