Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Telnetting in C#

Telnetting in C#

Scheduled Pinned Locked Moved C#
csharpcomsysadminhelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Michael Fritzius
    wrote on last edited by
    #1

    Hello everyone, There is a project here where the next step is to be able to communicate with a mail server. Right now I'm using Telnet to get the job done, but in the near future this will become huge and I need a way to automate this. When I start, I type: "telnet mail.theserver.com 25". This starts up a connection with theserver on port 25 (the mail server). After that, I'm communicating directly with the server through port 25. I need to be able to automatically send information through this port using C# so that I can have an interface, instead of typing everything by hand. I found a few leads that have to do with sockets, sending and listening for data, and I'm stuck. Is there a way to do what I want with a minimum of trouble? I just need something that lets me open a connection to an IP address and a port, and start sending and receiving info. Thanks for your time, Michael Fritzius

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups