public static IAsyncClientTcpSocket CreateClient()
        {
#if SILVERLIGHT
            return(new EventArgsAsyncClientTcpSocket(AsyncDelegateSchedulerFactory.Create()));
#else
            return(new BeginEndAsyncClientTcpSocket(AsyncDelegateSchedulerFactory.Create()));
#endif
        }
 public static IAsyncServerTcpSocket CreateServer()
 {
     return(new BeginEndAsyncServerTcpSocket(AsyncDelegateSchedulerFactory.Create()));
 }