#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(495, 245);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(118, 45);
this.button1.TabIndex = 0;
this.button1.Text = "button1";
this.button1.UseVisualStyleBackColor = true;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false);
}
#endregion
var http = require('http');
http.createServer(onRequest_a).listen(9011);
http.createServer(onRequest_b).listen(9012);
function onRequest_a (req, res) {
res.write('Response from 9011\n');
res.end();
}
function onRequest_b (req, res) {
res.write('Response from 9012\n');
res.end();
}