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. how to send value in port(tcp/ip)

how to send value in port(tcp/ip)

Scheduled Pinned Locked Moved C#
csharptutorial
7 Posts 4 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.
  • S Offline
    S Offline
    sivaramireddy p
    wrote on last edited by
    #1

    plz send me code in c#.net using windows application

    C L F 3 Replies Last reply
    0
    • S sivaramireddy p

      plz send me code in c#.net using windows application

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      sivaramireddy p wrote:

      plz send me code in c#.net using windows application

      This was the best I could come up with given the vagueness of your request.

      using System;
      using System.Collections.Generic;
      using System.ComponentModel;
      using System.Data;
      using System.Drawing;
      using System.Text;
      using System.Windows.Forms;

      namespace WindowsApplication2
      {
      public partial class Form1 : Form
      {
      public Form1()
      {
      InitializeComponent();
      }
      }
      }


      Upcoming FREE developer events: * Developer! Developer! Developer! 6 * Developer Day Scotland My website

      F 1 Reply Last reply
      0
      • S sivaramireddy p

        plz send me code in c#.net using windows application

        L Offline
        L Offline
        led mike
        wrote on last edited by
        #3

        sivaramireddy p wrote:

        plz send me code

        "please" read the top (first) post titled "How to get an answer to your question". Pay attention to item #2.

        1 Reply Last reply
        0
        • S sivaramireddy p

          plz send me code in c#.net using windows application

          F Offline
          F Offline
          Frank Kerrigan
          wrote on last edited by
          #4

          Try and use google (www.google.com) and the topic you might be after is called remoting. so try this http://www.google.co.uk/search?hl=en&q=c%23+2.0+remoting&meta=[^]

          Grady Booch: I told Google to their face...what you need is some serious adult supervision. (2007 Turing lecture) http://www.frankkerrigan.com/[^]

          1 Reply Last reply
          0
          • C Colin Angus Mackay

            sivaramireddy p wrote:

            plz send me code in c#.net using windows application

            This was the best I could come up with given the vagueness of your request.

            using System;
            using System.Collections.Generic;
            using System.ComponentModel;
            using System.Data;
            using System.Drawing;
            using System.Text;
            using System.Windows.Forms;

            namespace WindowsApplication2
            {
            public partial class Form1 : Form
            {
            public Form1()
            {
            InitializeComponent();
            }
            }
            }


            Upcoming FREE developer events: * Developer! Developer! Developer! 6 * Developer Day Scotland My website

            F Offline
            F Offline
            Frank Kerrigan
            wrote on last edited by
            #5

            Sorry Colin thats doesn't compile in visual studio 2003 can you provide something even more vague.

            Grady Booch: I told Google to their face...what you need is some serious adult supervision. (2007 Turing lecture) http://www.frankkerrigan.com/[^]

            C 1 Reply Last reply
            0
            • F Frank Kerrigan

              Sorry Colin thats doesn't compile in visual studio 2003 can you provide something even more vague.

              Grady Booch: I told Google to their face...what you need is some serious adult supervision. (2007 Turing lecture) http://www.frankkerrigan.com/[^]

              C Offline
              C Offline
              Colin Angus Mackay
              wrote on last edited by
              #6

              Frank Kerrigan wrote:

              Sorry Colin thats doesn't compile in visual studio 2003

              Sorry, I didn't realise you wanted something a bit more retro. Try this:

              using System;
              using System.Drawing;
              using System.Collections;
              using System.ComponentModel;
              using System.Windows.Forms;
              using System.Data;

              namespace WindowsApplication3
              {
              /// /// Summary description for Form1.
              ///
              public class Form1 : System.Windows.Forms.Form
              {
              /// /// Required designer variable.
              ///
              private System.ComponentModel.Container components = null;

              	public Form1()
              	{
              		//
              		// Required for Windows Form Designer support
              		//
              		InitializeComponent();
              
              		//
              		// TODO: Add any constructor code after InitializeComponent call
              		//
              	}
              
              	/// /// Clean up any resources being used.
              	/// 
              	protected override void Dispose( bool disposing )
              	{
              		if( disposing )
              		{
              			if (components != null) 
              			{
              				components.Dispose();
              			}
              		}
              		base.Dispose( disposing );
              	}
              
              	#region Windows Form Designer generated code
              	/// /// Required method for Designer support - do not modify
              	/// the contents of this method with the code editor.
              	/// 
              	private void InitializeComponent()
              	{
              		this.components = new System.ComponentModel.Container();
              		this.Size = new System.Drawing.Size(300,300);
              		this.Text = "Form1";
              	}
              	#endregion
              
              	/// /// The main entry point for the application.
              	/// 
              	\[STAThread\]
              	static void Main() 
              	{
              		Application.Run(new Form1());
              	}
              }
              

              }


              Upcoming FREE developer events: * Developer! Developer! Developer! 6 * Developer Day Scotland My website

              F 1 Reply Last reply
              0
              • C Colin Angus Mackay

                Frank Kerrigan wrote:

                Sorry Colin thats doesn't compile in visual studio 2003

                Sorry, I didn't realise you wanted something a bit more retro. Try this:

                using System;
                using System.Drawing;
                using System.Collections;
                using System.ComponentModel;
                using System.Windows.Forms;
                using System.Data;

                namespace WindowsApplication3
                {
                /// /// Summary description for Form1.
                ///
                public class Form1 : System.Windows.Forms.Form
                {
                /// /// Required designer variable.
                ///
                private System.ComponentModel.Container components = null;

                	public Form1()
                	{
                		//
                		// Required for Windows Form Designer support
                		//
                		InitializeComponent();
                
                		//
                		// TODO: Add any constructor code after InitializeComponent call
                		//
                	}
                
                	/// /// Clean up any resources being used.
                	/// 
                	protected override void Dispose( bool disposing )
                	{
                		if( disposing )
                		{
                			if (components != null) 
                			{
                				components.Dispose();
                			}
                		}
                		base.Dispose( disposing );
                	}
                
                	#region Windows Form Designer generated code
                	/// /// Required method for Designer support - do not modify
                	/// the contents of this method with the code editor.
                	/// 
                	private void InitializeComponent()
                	{
                		this.components = new System.ComponentModel.Container();
                		this.Size = new System.Drawing.Size(300,300);
                		this.Text = "Form1";
                	}
                	#endregion
                
                	/// /// The main entry point for the application.
                	/// 
                	\[STAThread\]
                	static void Main() 
                	{
                		Application.Run(new Form1());
                	}
                }
                

                }


                Upcoming FREE developer events: * Developer! Developer! Developer! 6 * Developer Day Scotland My website

                F Offline
                F Offline
                Frank Kerrigan
                wrote on last edited by
                #7

                oh cheers :D it doesn't really do much does it !

                Grady Booch: I told Google to their face...what you need is some serious adult supervision. (2007 Turing lecture) http://www.frankkerrigan.com/[^]

                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