newConnection.Receive(buffer, 4, SocketFlags.None); if (BitConverter.IsLittleEndian) Array.Reverse(buffer); argumentPort = BitConverter.ToInt32(buffer, 0); Console.WriteLine("received port: {0}\n", argumentPort);
Edit Paste
Privacy Note: Your IP address is logged, but never displayed publicly. Please also be careful before pasting anything that might contain passwords or personal information.
Editing does not overwrite an existing paste - it creates a new one.