using System; using Gtk; public class Prova { private Socket s; public Prova() { Application.Init(); s = new Socket(); Console.WriteLine("Socket id: "+s.Id); s.Show(); Application.Run(); } public static void Main(string[] args) { new Prova(); } }