| 
            
              TransportCreateSocket Method
             | 
          
        
        
            Creates a 
Socket for the specified 
port and 
protocol.
            
 
        
        Namespace: GSF.CommunicationAssembly: GSF.Communication (in GSF.Communication.dll) Version: 2.4.258-beta
Syntaxstatic member CreateSocket : 
        address : string * 
        port : int * 
        protocol : ProtocolType * 
        stack : IPStack * 
        ?allowDualStackSocket : bool 
(* Defaults:
        let _allowDualStackSocket = defaultArg allowDualStackSocket true
*)
-> Socket GSF.Communication.Transport.CreateSocket = function(address, port, protocol, stack, allowDualStackSocket);
 View SourceParameters
- address  String
 - The local address where the Socket will be bound.
 - port  Int32
 - The port number at which the Socket will be bound.
 - protocol  ProtocolType
 - One of the ProtocolType values.
 - stack  IPStack
 - Desired IP stack to use.
 - allowDualStackSocket  Boolean  (Optional)
 - Determines if dual-mode socket is allowed when endpoint address is IPv6.
 
Return Value
SocketAn 
Socket object.
See Also