PgmTransport.PgmSocket.EnableGigabit C# (CSharp) Method

EnableGigabit() public method

public EnableGigabit ( ) : bool
return bool
        public bool EnableGigabit()
        {
            return SetSocketOption(this, "Gigabit", 1014, 1);
        }

Usage Example

コード例 #1
0
 protected override Socket CreateAcceptSocket(IPEndPoint endpoint)
 {
     var socket = new PgmSocket();
     socket.Bind(endpoint);
     socket.SetPgmOption(PgmConstants.RM_HIGH_SPEED_INTRANET_OPT, PgmSocket.ConvertStructToBytes(true));
     socket.EnableGigabit();
     socket.Listen(5);
     return socket;
 }
All Usage Examples Of PgmTransport.PgmSocket::EnableGigabit