July 13th, 2009, 06:13 PM
Aha... Now I understand. Thank you very much.
July 13th, 2009, 04:54 PM
Well said. : )
Darwen is right. BigJoe, you should listen to Darwen's opinion, as he has a lot of experience.
July 12th, 2009, 08:36 PM
The key to finally getting this to work for me was the following:
I was successful when I used port number 587.
(For whatever reason, using port 465 did not work for me.)
Also, btw: I was...
July 12th, 2009, 07:43 PM
OK, fair enough.
It just seems odd, because:
If I use int, it returns a 32-bit value.
If I use short, it returns a 16-bit value.
And if I use sbyte, it returns a 16-bit value, too.
So, for...
July 12th, 2009, 06:52 PM
This is great code, so I really wanted to try it.
However, when I implement it within a very simple Windows Forms app with a simple Send button, it appears to fail.
"Not responding... ...
July 12th, 2009, 05:07 PM
Thanks very much for your reply.
However, according to MSDN, there is a method for Convert.ToString(SByte, IFormatProvider), if I am reading this correctly.
...
July 12th, 2009, 07:58 AM
According to MSDN:
Convert.ToString Method (SByte)
Converts the value of the specified 8-bit signed integer to its equivalent String representation.
So, why does it give 16-bit output?
July 12th, 2009, 07:51 AM
sbyte x = -4;
Console.WriteLine("Suppose we have an sbyte with value -4.");
Console.WriteLine("The size of sbyte is {0} byte.", sizeof(sbyte));
Console.WriteLine("The sbyte converted to binary...