ftware is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be
// included in all co
Tag: namespace
C# Programmation Réseau: Créer une connexion Socket
ent();
MyClient.Connect("http://www.java2s.com", 10000);
NetworkStream MyNetStream = MyClient.GetStream();
if(MyNetStream.CanWrite &&
C# Programmation Réseau: Vérifier si un URL est ROOT
ftware is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be
// included in all co
C# Programmation Réseau: Encoder un URL
y stirng routines
///
public class StringUtil
{
private static readonly Regex urlEncodeRegex = new Regex("[^a-zA-Z0-9\.\-_~]", Re
C# Programmation Réseau: Envoyer un email en utilisant l”API Collaboration Data Objects (CDO)
ds MyFields = MyConfig.Fields;
MyFields[@"http://schemas.microsoft.com/cdo/configuration/sendusing"].Value = 2;
MyFields[@"http://schemas.microsoft
C# Programmation Réseau: Créer un Socket d’écoute
yListener = new TcpListener(PortNumber);
MyListener.Start();
//Console.WriteLine("Waiting For Connection");
TcpClient MyClient = MyListener.