The Sockets Manager Object - Script2CMD Programming Interface

Document Path: Home Page / Programming / Script2CMD / Interfaces / Sockets Manager Object  
Introduction
For each socket object created, Sockets Manager keeps a copy of it. You should call 'Remove' when a socket object is no long needed and can be released.
Properties Property Socket SocketsCount
Methods CreateTCPClientObject CreateTCPServerObject CreateUDPObject DoRoutine Remove RemoveAll
Properties

Property

Value VARIANT
Arguments:
  • BSTR name
Access Get, Put
Notes

Socket

Value Object
Arguments:
  • ULONG index
Access Get
Notes

SocketsCount

Value ULONG
Access Get
Notes
Methods

CreateTCPClientObject

Return Value TCP Client object
Notes

CreateTCPServerObject

Return Value TCP Server object
Notes

CreateUDPObject

Return Value UDP object
Notes

DoRoutine

Return Value
Notes

Remove

Return Value
Arguments:
  • Object socketObject
Notes

RemoveAll

Return Value
Notes