The Sockets Manager Object - HTML2EXE Programming Interface

Document Path: Home Page / Programming / HTML2EXE / 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 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

Remove

Return Value
Arguments:
  • Object socketObject
Notes
Close the socket and remove it from the internal socket object list.

RemoveAll

Return Value
Notes
Close all sockets and clear the internal socket object list.