4D Internet Commands v16

TCP_Close

Home

 
4D Internet Commands v16
TCP_Close

TCP_Close 


 

TCP_Close ( tcp_ID ) -> Function result 
Parameter Type   Description
tcp_ID  Longint in Reference to an open TCP session
in 0 = Session successfully closed
Function result  Integer in Error Code

The TCP_Close command closes the TCP session referenced by tcp_ID. If a TCP session is not closed, it will occupy one of the 64 references available for TCP sessions. If there are 64 sessions open which have not been closed, the user will not be able to open another session.

tcp_ID is a long integer reference to an open TCP session as established with either the TCP_Open or TCP_Listen command. This command will return the value of zero into the tcp_ID parameter upon successful close of the session.



See also 

TCP_Listen
TCP_Open

 
PROPERTIES 

Product: 4D Internet Commands
Theme: IC TCP/IP
Number: 88928

 
HISTORY 

Created: 4D Internet Commands 6.5

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v16)