#341 [plain text] miscellany, pasted 30 weeks ago by
  1. newConnection.Receive(buffer, 4, SocketFlags.None);
  2. if (BitConverter.IsLittleEndian)
  3. Array.Reverse(buffer);
  4. argumentPort = BitConverter.ToInt32(buffer, 0);
  5. 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.