4D Internet Commands v14

TCP_Close

Home

 
4D Internet Commands v14
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.

 
PROPERTIES 

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

 
HISTORY 

Created: 4D Internet Commands 6.5

 
SEE ALSO 

TCP_Listen
TCP_Open

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v11.4)
4D Internet Commands ( 4D v13.2)
4D Internet Commands ( 4D Internet Commands v12.1)
4D Internet Commands ( 4D Internet Commands v14 R2)
4D Internet Commands ( 4D Internet Commands v14)
4D Internet Commands ( 4D Internet Commands v14 R3)
4D Internet Commands ( 4D Internet Commands v14 R4)